mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
progress on movies home page
This commit is contained in:
parent
89472754ad
commit
ae312524dd
7 changed files with 103 additions and 45 deletions
|
@ -1,11 +1,11 @@
|
|||
var IndexPage = {
|
||||
(function ($, document) {
|
||||
|
||||
onPageShow: function () {
|
||||
IndexPage.loadLibrary(Dashboard.getCurrentUserId(), this);
|
||||
},
|
||||
$(document).on('pageshow', "#indexPage", function () {
|
||||
|
||||
loadLibrary: function (userId, page) {
|
||||
var page = this;
|
||||
|
||||
var userId = Dashboard.getCurrentUserId();
|
||||
|
||||
if (!userId) {
|
||||
return;
|
||||
}
|
||||
|
@ -25,7 +25,6 @@
|
|||
}));
|
||||
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
$(document).on('pageshow', "#indexPage", IndexPage.onPageShow);
|
||||
})(jQuery, document);
|
Loading…
Add table
Add a link
Reference in a new issue