diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js index b53f2ce38e..32c76cb853 100644 --- a/dashboard-ui/scripts/itemdetailpage.js +++ b/dashboard-ui/scripts/itemdetailpage.js @@ -1233,7 +1233,8 @@ page.dispatchEvent(new CustomEvent("thememediadownload", { detail: { themeMediaResult: result - } + }, + bubbles: true })); }); diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 6faf41a725..2479333e9e 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1269,6 +1269,8 @@ getListViewHtml: function (options) { + require(['paper-icon-item', 'paper-item-body']); + var outerHtml = ""; if (options.title) { diff --git a/dashboard-ui/scripts/librarymenu.js b/dashboard-ui/scripts/librarymenu.js index 67c6d13205..2025cd2051 100644 --- a/dashboard-ui/scripts/librarymenu.js +++ b/dashboard-ui/scripts/librarymenu.js @@ -577,7 +577,7 @@ closeMainDrawer(); // On mobile devices don't navigate until after the closing animation has completed or it may stutter - var delay = browserInfo.mobile ? 350 : 0; + var delay = browserInfo.mobile ? 350 : 100; setTimeout(function () { if (action) { @@ -602,7 +602,7 @@ closeMainDrawer(); // On mobile devices don't navigate until after the closing animation has completed or it may stutter - var delay = browserInfo.mobile ? 350 : 0; + var delay = browserInfo.mobile ? 350 : 100; setTimeout(function () { Dashboard.logout(); diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index ece87c33c7..11ce8fb638 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -2201,6 +2201,8 @@ var AppInfo = {}; } } + postInitDependencies.push('components/testermessage'); + } else if (browserInfo.chrome) { postInitDependencies.push('scripts/chromecast'); } @@ -2209,8 +2211,6 @@ var AppInfo = {}; postInitDependencies.push('scripts/nowplayingbar'); } - postInitDependencies.push('components/testermessage'); - require(postInitDependencies); }); }