mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
25 lines
652 B
JavaScript
25 lines
652 B
JavaScript
(function ($, document) {
|
|
|
|
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,
|
|
enableHoverMenu: true
|
|
});
|
|
});
|
|
}
|
|
};
|
|
|
|
})(jQuery, document); |