mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update tabs
This commit is contained in:
parent
23f753f239
commit
a0fac36101
13 changed files with 81 additions and 81 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue