mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
24 lines
590 B
JavaScript
24 lines
590 B
JavaScript
define([], function () {
|
|
|
|
window.LiveTvPage.initGuideTab = function (page, tabContent) {
|
|
|
|
};
|
|
|
|
window.LiveTvPage.renderGuideTab = function (page, tabContent) {
|
|
|
|
if (page.guideInstance) {
|
|
if (LibraryBrowser.needsRefresh(tabContent)) {
|
|
page.guideInstance.refresh();
|
|
}
|
|
} else {
|
|
require(['tvguide'], function (tvguide) {
|
|
|
|
page.guideInstance = new tvguide({
|
|
element: tabContent,
|
|
enableHeadRoom: true
|
|
});
|
|
});
|
|
}
|
|
};
|
|
|
|
}); |