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:
parent
30db5a009c
commit
489dc97aab
33 changed files with 368 additions and 212 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue