1
0
Fork 0
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:
Luke Pulverenti 2015-08-18 11:52:48 -04:00
parent ceeb569571
commit 41a15fa8b3
7 changed files with 106 additions and 155 deletions

View file

@ -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);