mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
split live tv scripts
This commit is contained in:
parent
ceeb569571
commit
41a15fa8b3
7 changed files with 106 additions and 155 deletions
|
@ -133,20 +133,11 @@
|
|||
});
|
||||
}
|
||||
|
||||
$(document).on('pageinitdepends', "#liveTvSuggestedPage", function () {
|
||||
window.LiveTvPage.renderTimersTab = function (page, tabContent) {
|
||||
|
||||
var page = this;
|
||||
|
||||
$(page.querySelector('neon-animated-pages')).on('tabchange', function () {
|
||||
|
||||
if (parseInt(this.selected) == 4) {
|
||||
var tabContent = page.querySelector('.timersTabContent');
|
||||
|
||||
if (LibraryBrowser.needsRefresh(tabContent)) {
|
||||
reload(tabContent);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
if (LibraryBrowser.needsRefresh(tabContent)) {
|
||||
reload(tabContent);
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery, document);
|
Loading…
Add table
Add a link
Reference in a new issue