|
|
|
@ -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);
|
|
|
|
|