diff --git a/dashboard-ui/scripts/itembynamedetailpage.js b/dashboard-ui/scripts/itembynamedetailpage.js index 7f000270fe..1afe0d515d 100644 --- a/dashboard-ui/scripts/itembynamedetailpage.js +++ b/dashboard-ui/scripts/itembynamedetailpage.js @@ -1,4 +1,4 @@ -define(['jQuery'], function ($) { +define([], function () { function renderItems(page, item) { @@ -256,7 +256,7 @@ var itemsContainer = element.querySelector('.itemsContainer'); itemsContainer.innerHTML = html; - $(itemsContainer).createCardMenus(); + LibraryBrowser.createCardMenus(itemsContainer); ImageLoader.lazyChildren(itemsContainer); }); } @@ -302,7 +302,7 @@ CollapseBoxSetItems: false }; - query = $.extend(query, options || {}); + query = Object.assign(query, options || {}); if (query.IncludeItemTypes == "Audio") { query.SortBy = "AlbumArtist,Album,SortName"; diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index f97f2c22c1..8f924b079d 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -1857,8 +1857,6 @@ var AppInfo = {}; define("paper-tabs", ["html!" + bowerPath + "/paper-tabs/paper-tabs.html"]); define("paper-menu", ["html!" + bowerPath + "/paper-menu/paper-menu.html"]); define("paper-material", ["html!" + bowerPath + "/paper-material/paper-material.html"]); - define("paper-dialog", ["html!" + bowerPath + "/paper-dialog/paper-dialog.html"]); - define("paper-dialog-scrollable", ["html!" + bowerPath + "/paper-dialog-scrollable/paper-dialog-scrollable.html"]); define("paper-button", ["html!" + bowerPath + "/paper-button/paper-button.html"]); define("paper-icon-button", ["html!" + bowerPath + "/paper-icon-button/paper-icon-button.html"]); define("paper-icon-button-light", ["html!" + bowerPath + "/paper-icon-button/paper-icon-button-light.html", 'css!css/polymer/paper-icon-button-light.css']);