From 8d1e58ad25eaa2b0843cbd4e4855c6bd2dd8671e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 16 Jun 2016 02:20:50 -0400 Subject: [PATCH] update nowplayingbar --- dashboard-ui/scripts/nowplayingbar.js | 2 +- dashboard-ui/scripts/sections.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard-ui/scripts/nowplayingbar.js b/dashboard-ui/scripts/nowplayingbar.js index c8796e9a1f..e3e3203cf9 100644 --- a/dashboard-ui/scripts/nowplayingbar.js +++ b/dashboard-ui/scripts/nowplayingbar.js @@ -302,7 +302,7 @@ document.body.insertAdjacentHTML('beforeend', getNowPlayingBarHtml()); nowPlayingBarElement = document.querySelector('.nowPlayingBar'); - if ((browserInfo.safari || !AppInfo.isNativeApp) && browserInfo.mobile) { + if (browserInfo.safari && browserInfo.mobile) { // Not handled well here. The wrong elements receive events, bar doesn't update quickly enough, etc. nowPlayingBarElement.classList.add('noMediaProgress'); } diff --git a/dashboard-ui/scripts/sections.js b/dashboard-ui/scripts/sections.js index 053022af07..316e32b730 100644 --- a/dashboard-ui/scripts/sections.js +++ b/dashboard-ui/scripts/sections.js @@ -190,7 +190,7 @@ infos.push(getTheaterInfo); } - if (!AppInfo.enableAppLayouts && browserInfo.mobile) { + if (!AppInfo.enableAppLayouts) { infos.push(getUpgradeMobileLayoutsInfo); }