diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index ced8f94d58..3ffbaccf3e 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -121,7 +121,6 @@ }, enableFullPaperTabs: function () { - return true; return AppInfo.isNativeApp; }, diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index 0cc4b94d68..d3f4f88e85 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -5,7 +5,7 @@ var self = this; var currentProgressInterval; - var currentPlaylistIndex = 0; + var currentPlaylistIndex = -1; self.currentMediaRenderer = null; self.currentItem = null; diff --git a/dashboard-ui/scripts/nowplayingpage.js b/dashboard-ui/scripts/nowplayingpage.js index 676378ac9d..8f7f760693 100644 --- a/dashboard-ui/scripts/nowplayingpage.js +++ b/dashboard-ui/scripts/nowplayingpage.js @@ -706,10 +706,12 @@ if (index != -1) { var item = itemsContainer.querySelectorAll('.listItem')[index]; - var img = item.querySelector('.listviewImage'); + if (item) { + var img = item.querySelector('.listviewImage'); - img.classList.remove('lazy'); - img.classList.add('playlistIndexIndicatorImage'); + img.classList.remove('lazy'); + img.classList.add('playlistIndexIndicatorImage'); + } } ImageLoader.lazyChildren(itemsContainer); diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index bc9411f7b0..338bf282d2 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -1927,7 +1927,6 @@ var AppInfo = {}; Dashboard.importCss('themes/ios.css'); } } - Dashboard.importCss('themes/ios.css'); if ($.browser.msie && $.browser.tv && ($.browser.version || 11) <= 10) { Dashboard.importCss('thirdparty/paper-ie10.css'); diff --git a/dashboard-ui/themes/ios.css b/dashboard-ui/themes/ios.css index 099bb0e020..982e94d2c4 100644 --- a/dashboard-ui/themes/ios.css +++ b/dashboard-ui/themes/ios.css @@ -19,6 +19,11 @@ body { background-color: rgba(28,28,28,.92) !important; } +.viewMenuBar { + /* It needs this in order to retain height since we're positioning the contents absolutely */ + height: 50px; +} + .viewMenuBar, .libraryViewNav, paper-tabs { background-color: #000; }