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

update tabs

This commit is contained in:
Luke Pulverenti 2016-09-01 12:36:11 -04:00
parent 23f753f239
commit a0fac36101
13 changed files with 81 additions and 81 deletions

View file

@ -4,7 +4,7 @@
function getDefaultSection(index) {
if (AppInfo.isNativeApp && browserInfo.safari) {
if (AppInfo.isNativeApp) {
switch (index) {
@ -24,7 +24,6 @@
return '';
}
}
switch (index) {
case 0:
@ -371,12 +370,10 @@
Events.off(ApiClient, "websocketmessage", onWebSocketMessage);
});
if (AppInfo.enableHeadRoom) {
require(["headroom-window"], function (headroom) {
headroom.add(viewTabs);
self.headroom = headroom;
});
}
require(["headroom-window"], function (headroom) {
headroom.add(viewTabs);
self.headroom = headroom;
});
view.addEventListener('viewdestroy', function (e) {
if (self.headroom) {