From 0ad3b6b9df5e134ad8651e2de429ebc2eca0df08 Mon Sep 17 00:00:00 2001 From: nobody Date: Mon, 28 Sep 2020 18:12:21 +0200 Subject: [PATCH] Improved: Text color setting for counter hidden (only for Chromium) (#122) --- pages/options/options.html | 2 +- pages/options/options.js | 3 ++- pages/updates/updates.html | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/options/options.html b/pages/options/options.html index a2a894d5..0e910480 100644 --- a/pages/options/options.html +++ b/pages/options/options.html @@ -232,7 +232,7 @@

-
+
diff --git a/pages/options/options.js b/pages/options/options.js index 8c4b7d86..c92ae07c 100644 --- a/pages/options/options.js +++ b/pages/options/options.js @@ -43,6 +43,7 @@ options._renderContents = function () { if (BrowserType.CHROMIUM) { document.getElementById('html-filter-div').style.display = 'none'; document.getElementById('block-google-fonts').style.display = 'none'; + document.getElementById('div-badged-text-color').style.display = 'none'; } if (!chrome.browserAction.setIcon) { @@ -155,7 +156,7 @@ options._renderOptionsPanel = function () { if (options._platformSupportIcons) { document.getElementById('badged-background-color').addEventListener('keyup', options._onChangedHexColor); - document.getElementById('badged-text-color').addEventListener('keyup', options._onChangedHexColor); + document.getElementById('badged-text-color').addEventListener('keyup', options._onChangedHexColor); } document.getElementById('restore-background-color').addEventListener('click', options._setDefaultColor); diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 725355e5..606a07ab 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -27,6 +27,7 @@