diff --git a/dashboard-ui/bower_components/emby-webcomponents/prompt/style.css b/dashboard-ui/bower_components/emby-webcomponents/prompt/style.css index 293fd37d51..e57da95db9 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/prompt/style.css +++ b/dashboard-ui/bower_components/emby-webcomponents/prompt/style.css @@ -6,13 +6,8 @@ text-align: center; } -.txtPromptValue label { - font-size: 200%; -} - .promptDialogContent { text-align: left; - padding: 1.5em 2em; margin: 0 !important; } diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 508f51e9aa..c5457c31cf 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -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") {