mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-01 18:10:17 +12:00
fixed ff icons
This commit is contained in:
parent
cba6d2346e
commit
1bfe037de6
|
@ -1463,7 +1463,7 @@ vAPI.toolbarButton.init = function() {
|
|||
this.styleURI = [
|
||||
'#' + this.id + ' {',
|
||||
'list-style-image: url(',
|
||||
vAPI.getURL('img/browsericons/icon16-off.svg'),
|
||||
vAPI.getURL('img/browsericons/ff-icon16-off.svg'),
|
||||
');',
|
||||
'}',
|
||||
'#' + this.viewId + ', #' + this.viewId + ' > iframe {',
|
||||
|
@ -1675,7 +1675,7 @@ vAPI.toolbarButton.updateState = function(win, tabId) {
|
|||
icon = '';
|
||||
}
|
||||
else {
|
||||
icon = 'url(' + vAPI.getURL('img/browsericons/icon16.svg') + ')';
|
||||
icon = 'url(' + vAPI.getURL('img/browsericons/ff-icon16.svg') + ')';
|
||||
}
|
||||
|
||||
button.style.listStyleImage = icon;
|
||||
|
@ -1766,7 +1766,7 @@ vAPI.contextMenu.register = function(doc) {
|
|||
var menuitem = doc.createElement('menuitem');
|
||||
menuitem.setAttribute('id', this.menuItemId);
|
||||
menuitem.setAttribute('label', this.menuLabel);
|
||||
menuitem.setAttribute('image', vAPI.getURL('img/browsericons/icon16.svg'));
|
||||
menuitem.setAttribute('image', vAPI.getURL('img/browsericons/ff-icon16.svg'));
|
||||
menuitem.setAttribute('class', 'menuitem-iconic');
|
||||
menuitem.addEventListener('command', this.onCommand);
|
||||
contextMenu.addEventListener('popupshowing', this.displayMenuItem);
|
||||
|
|
Loading…
Reference in a new issue