modify necessary void replacements

This commit is contained in:
sancodes 2022-03-21 20:50:19 -07:00
parent 87f47d8001
commit 408f2b2bda
11 changed files with 33 additions and 30 deletions

View file

@ -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 === '-') {