diff options
author | Yuchen Pei <hi@ypei.me> | 2022-07-22 11:14:39 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-07-22 11:14:39 +1000 |
commit | 5920d0add61331ecb7f8e245cc5bc3b0a59374f5 (patch) | |
tree | 0e70902be15b1d631ecece9e6d61cb48820ceac0 | |
parent | a4cd30be68ce1d5725409aa742570325d7526c4f (diff) |
fixing some mozilla validation warnings when uploading the extension
-rw-r--r-- | common/Test.js | 2 | ||||
-rw-r--r-- | content/dialog.css | 2 | ||||
-rw-r--r-- | html/preferences_panel/prefs.css | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/common/Test.js b/common/Test.js index 88baff2..d08741e 100644 --- a/common/Test.js +++ b/common/Test.js @@ -21,7 +21,7 @@ 'use strict'; var Test = (() => { - const RUNNER_URL = browser.extension.getURL('/test/SpecRunner.html'); + const RUNNER_URL = browser.runtime.getURL('/test/SpecRunner.html'); return { /* returns RUNNER_URL if it's a test-enabled build or an about:debugging diff --git a/content/dialog.css b/content/dialog.css index 38b6634..08e475f 100644 --- a/content/dialog.css +++ b/content/dialog.css @@ -87,5 +87,5 @@ #_LibreJS_dialog #content ul { list-style: none; margin: 0; - padding: 0;" + padding: 0; } diff --git a/html/preferences_panel/prefs.css b/html/preferences_panel/prefs.css index 3ac498e..6e2d206 100644 --- a/html/preferences_panel/prefs.css +++ b/html/preferences_panel/prefs.css @@ -73,7 +73,7 @@ input[type="text"] { #new-site { display: flex; - flex 2; + flex: 2; } .error-msg { color: red; |