Improved: Text color setting for counter hidden (only for Chromium) (#122)
This commit is contained in:
parent
c75e98b9a7
commit
0ad3b6b9df
|
@ -232,7 +232,7 @@
|
|||
<div id="pre-badged-background-color"></div>
|
||||
<input id="badged-background-color" class="input-text" maxlength="7"><img id="restore-background-color" class="img-restore-color" src="../../icons/restore.svg"><br>
|
||||
</div>
|
||||
<div class="colorpicker">
|
||||
<div id="div-badged-text-color" class="colorpicker">
|
||||
<div id="pre-badged-text-color"></div>
|
||||
<input id="badged-text-color" class="input-text" maxlength="7"><img id="restore-text-color" class="img-restore-color" src="../../icons/restore.svg">
|
||||
</div>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
<ul>
|
||||
<li>Updated: Internal module "Color Picker" v2.1.2 -> v2.1.3</li>
|
||||
<li>Fixed: Icons disabled for mobile devices and browsers without support for extension icons</li>
|
||||
<li>Improved: Text color setting for counter hidden (only for Chromium) (<a href="https://codeberg.org/nobody/LocalCDN/issues/122">#122</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
Loading…
Reference in New Issue