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:
@@ -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 () {
|
||||
|
Reference in New Issue
Block a user