1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update shared components

This commit is contained in:
Luke Pulverenti 2016-05-17 13:44:17 -04:00
parent 30db5a009c
commit 489dc97aab
33 changed files with 368 additions and 212 deletions

View file

@ -108,8 +108,10 @@ define(['browser'], function (browser) {
// The views need to be updated to start loading data in beforeshow, but not render until show
document.dispatchEvent(new CustomEvent('scroll', {}));
$.mobile = $.mobile || {};
$.mobile.activePage = view;
if (window.$) {
$.mobile = $.mobile || {};
$.mobile.activePage = view;
}
resolve(view);
});
@ -353,8 +355,10 @@ define(['browser'], function (browser) {
// The views need to be updated to start loading data in beforeshow, but not render until show
document.dispatchEvent(new CustomEvent('scroll', {}));
$.mobile = $.mobile || {};
$.mobile.activePage = view;
if (window.$) {
$.mobile = $.mobile || {};
$.mobile.activePage = view;
}
return view;
});