1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Implemented: Hide icon setting if not supported

This commit is contained in:
nobody
2020-07-22 07:23:00 +02:00
parent adc44583a4
commit 2023cf014b
3 changed files with 5 additions and 2 deletions

View File

@@ -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 () {