1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix null reference

This commit is contained in:
Luke Pulverenti 2016-07-22 18:11:03 -04:00
parent d7677bdd13
commit 8b5799bd66
2 changed files with 3 additions and 6 deletions

View file

@ -6,13 +6,8 @@
text-align: center;
}
.txtPromptValue label {
font-size: 200%;
}
.promptDialogContent {
text-align: left;
padding: 1.5em 2em;
margin: 0 !important;
}

View file

@ -35,10 +35,12 @@
return;
}
var currentView = ViewManager.currentView();
// Bounce to the login screen, but not if a password entry fails, obviously
if (url.indexOf('/password') == -1 &&
url.indexOf('/authenticate') == -1 &&
!ViewManager.currentView().classList.contains('.standalonePage')) {
currentView &&
!currentView.classList.contains('.standalonePage')) {
if (data.errorCode == "ParentalControl") {