mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
replace channel tabs
This commit is contained in:
parent
bfb177618f
commit
a5579327cc
12 changed files with 146 additions and 81 deletions
|
@ -548,6 +548,32 @@
|
|||
|
||||
setTitle: function (title) {
|
||||
document.querySelector('.libraryMenuButtonText').innerHTML = title;
|
||||
},
|
||||
|
||||
setBackButtonVisible: function (visible) {
|
||||
|
||||
var backButton = document.querySelector('.headerBackButton');
|
||||
|
||||
if (backButton) {
|
||||
if (visible) {
|
||||
backButton.classList.remove('hide');
|
||||
} else {
|
||||
backButton.classList.add('hide');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
setMenuButtonVisible: function (visible) {
|
||||
|
||||
var mainDrawerButton = document.querySelector('.mainDrawerButton');
|
||||
|
||||
if (mainDrawerButton) {
|
||||
if (!visible && $.browser.mobile) {
|
||||
mainDrawerButton.classList.add('hide');
|
||||
} else {
|
||||
mainDrawerButton.classList.remove('hide');
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue