From 5920d0add61331ecb7f8e245cc5bc3b0a59374f5 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 22 Jul 2022 11:14:39 +1000 Subject: fixing some mozilla validation warnings when uploading the extension --- common/Test.js | 2 +- content/dialog.css | 2 +- 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; -- cgit v1.2.3