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:
parent
d7677bdd13
commit
8b5799bd66
2 changed files with 3 additions and 6 deletions
|
@ -6,13 +6,8 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.txtPromptValue label {
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
.promptDialogContent {
|
||||
text-align: left;
|
||||
padding: 1.5em 2em;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -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") {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue