From 18066b3b8e63c6fcaa528eafc965690213222be1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 27 Dec 2015 13:46:17 -0500 Subject: [PATCH] update animation --- dashboard-ui/scripts/librarybrowser.js | 2 +- dashboard-ui/scripts/nowplayingbar.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index b5edd7d74b..9b8becd238 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -155,7 +155,7 @@ enableFullPaperTabs: function () { if (browserInfo.animate && !browserInfo.mobile) { - return true; + //return true; } return AppInfo.isNativeApp; diff --git a/dashboard-ui/scripts/nowplayingbar.js b/dashboard-ui/scripts/nowplayingbar.js index bf5b3bd670..b9b7659690 100644 --- a/dashboard-ui/scripts/nowplayingbar.js +++ b/dashboard-ui/scripts/nowplayingbar.js @@ -91,10 +91,10 @@ elem.classList.add('hide'); }; - if (!browserInfo.animate || browserInfo.mobile) { + //if (!browserInfo.animate || browserInfo.mobile) { onfinish(); return; - } + //} requestAnimationFrame(function () { var keyframes = [ @@ -113,9 +113,9 @@ elem.classList.remove('hide'); - if (!browserInfo.animate || browserInfo.mobile) { + //if (!browserInfo.animate || browserInfo.mobile) { return; - } + //} requestAnimationFrame(function () {