Merge pull request #3509 from sancodes/eslint-novoid

add eslint novoid
This commit is contained in:
Bill Thornton 2022-04-13 00:44:30 -04:00 committed by GitHub
commit 13a70d3186
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 61 additions and 31 deletions

View file

@ -646,7 +646,8 @@ import { getParameterByName } from '../utils/url.ts';
if (!user) {
showBySelector('.libraryMenuDownloads', false);
showBySelector('.lnkSyncToOtherDevices', false);
return void showBySelector('.userMenuOptions', false);
showBySelector('.userMenuOptions', false);
return;
}
if (user.Policy.EnableContentDownloading) {
@ -958,7 +959,8 @@ import { getParameterByName } from '../utils/url.ts';
function setTitle (title) {
if (title == null) {
return void LibraryMenu.setDefaultTitle();
LibraryMenu.setDefaultTitle();
return;
}
if (title === '-') {