mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
modify necessary void replacements
This commit is contained in:
parent
87f47d8001
commit
408f2b2bda
11 changed files with 33 additions and 30 deletions
|
@ -645,7 +645,7 @@ import Headroom from 'headroom.js';
|
|||
if (!user) {
|
||||
showBySelector('.libraryMenuDownloads', false);
|
||||
showBySelector('.lnkSyncToOtherDevices', false);
|
||||
return void showBySelector('.userMenuOptions', false);
|
||||
return showBySelector('.userMenuOptions', false);
|
||||
}
|
||||
|
||||
if (user.Policy.EnableContentDownloading) {
|
||||
|
@ -957,7 +957,7 @@ import Headroom from 'headroom.js';
|
|||
|
||||
function setTitle (title) {
|
||||
if (title == null) {
|
||||
return void LibraryMenu.setDefaultTitle();
|
||||
return LibraryMenu.setDefaultTitle();
|
||||
}
|
||||
|
||||
if (title === '-') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue