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

21 lines
545 B
JavaScript
Raw Normal View History

2016-04-26 14:28:04 -04:00
define(['tvguide', 'embyRouter'], function (tvguide, embyRouter) {
2014-01-05 20:59:21 -05:00
2015-10-08 15:12:53 -04:00
window.LiveTvPage.initGuideTab = function (page, tabContent) {
2014-01-10 08:52:01 -05:00
};
2015-05-22 15:16:14 -04:00
2015-10-08 15:12:53 -04:00
window.LiveTvPage.renderGuideTab = function (page, tabContent) {
2014-01-06 13:25:33 -05:00
2015-10-08 15:12:53 -04:00
if (page.guideInstance) {
if (LibraryBrowser.needsRefresh(tabContent)) {
page.guideInstance.refresh();
2014-01-06 13:25:33 -05:00
}
2015-04-12 12:46:29 -04:00
} else {
2016-04-26 14:28:04 -04:00
page.guideInstance = new tvguide({
element: tabContent,
enableHeadRoom: true
2015-05-06 23:11:51 -04:00
});
}
2015-08-18 11:52:48 -04:00
};
2014-01-05 20:59:21 -05:00
});