Skip to content

Commit b83e0b4

Browse files
committed
move platform-specific images to their respective platform
1 parent 94320dd commit b83e0b4

18 files changed

Lines changed: 6 additions & 3 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

platform/firefox/vapi-background.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ vAPI.toolbarButton.init = function() {
14631463
this.styleURI = [
14641464
'#' + this.id + ' {',
14651465
'list-style-image: url(',
1466-
vAPI.getURL('img/browsericons/ff-icon16-off.svg'),
1466+
vAPI.getURL('img/browsericons/icon16-off.svg'),
14671467
');',
14681468
'}',
14691469
'#' + this.viewId + ', #' + this.viewId + ' > iframe {',
@@ -1675,7 +1675,7 @@ vAPI.toolbarButton.updateState = function(win, tabId) {
16751675
icon = '';
16761676
}
16771677
else {
1678-
icon = 'url(' + vAPI.getURL('img/browsericons/ff-icon16.svg') + ')';
1678+
icon = 'url(' + vAPI.getURL('img/browsericons/icon16.svg') + ')';
16791679
}
16801680

16811681
button.style.listStyleImage = icon;
@@ -1766,7 +1766,7 @@ vAPI.contextMenu.register = function(doc) {
17661766
var menuitem = doc.createElement('menuitem');
17671767
menuitem.setAttribute('id', this.menuItemId);
17681768
menuitem.setAttribute('label', this.menuLabel);
1769-
menuitem.setAttribute('image', vAPI.getURL('img/browsericons/ff-icon16.svg'));
1769+
menuitem.setAttribute('image', vAPI.getURL('img/browsericons/icon16.svg'));
17701770
menuitem.setAttribute('class', 'menuitem-iconic');
17711771
menuitem.addEventListener('command', this.onCommand);
17721772
contextMenu.addEventListener('popupshowing', this.displayMenuItem);
File renamed without changes.

0 commit comments

Comments
 (0)