Implemented: Hide icon setting if not supported
This commit is contained in:
parent
adc44583a4
commit
2023cf014b
|
@ -102,7 +102,7 @@
|
|||
</div>
|
||||
<div class="description-option" data-i18n-content="hideReleaseNotesDescription">If enabled, you wont receive any information about new features in LocalCDN. This includes information about new uBlock/uMatrix rules.</div>
|
||||
</section>
|
||||
<section class="option">
|
||||
<section id="section-icon-style" class="option">
|
||||
<div class="title-option-select" data-i18n-content="chooseIconStyle">Choose an icon for this extension</div>
|
||||
<div class="description-option">
|
||||
<select id="selected-icon" data-option="selectedIcon">
|
||||
|
|
|
@ -47,6 +47,9 @@ options._renderContents = function () {
|
|||
document.getElementById('block-google-fonts').style.display = 'none';
|
||||
}
|
||||
|
||||
if(!chrome.browserAction.setIcon) {
|
||||
document.getElementById('section-icon-style').style.display = 'none';
|
||||
}
|
||||
};
|
||||
|
||||
options._renderOptionsPanel = function () {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
New in LocalCDN:
|
||||
</div>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Implemented: Hide icon setting if not supported</li>
|
||||
</ul>
|
||||
<div class="topic-label">
|
||||
Generate rule sets for uBlock or uMatrix
|
||||
|
|
Loading…
Reference in New Issue