Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Fix status icons paths #35

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/background/browserActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const button = {

for(var i in statuses)
for (var j in manifest.browser_action.default_icon)
statuses[i][j] = manifest.browser_action.default_icon[j].replace("idle", "/"+i);
statuses[i][j] = manifest.browser_action.default_icon[j].replace("idle", i);

statuses.idle = manifest.browser_action.default_icon;
if (__PLATFORM__=="firefox")
Expand Down Expand Up @@ -106,4 +106,4 @@ if (extension){
extension.tabs.onActivated.addListener(onTabUpdate);

button.initIcons();
}
}