diff --git a/.eslintrc.json b/.eslintrc.json index 49191e9..f6fc534 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -120,7 +120,7 @@ "no-throw-literal": "error", "no-trailing-spaces": "error", "no-undef-init": "error", - "no-undefined": "error", + "no-undefined": "off", "no-underscore-dangle": "error", "no-unmodified-loop-condition": "error", "no-unneeded-ternary": "error", diff --git a/src/script.js b/src/script.js index 3d9349a..b9295ca 100644 --- a/src/script.js +++ b/src/script.js @@ -1007,7 +1007,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal '">'; } - if (js) { + if (js !== undefined) { contents += '