Skip to content

Commit

Permalink
supress error on chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
sawanoboly committed Nov 14, 2019
1 parent 9b6ad2b commit 4d78363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function colorIcon() {
},
tabId : tabId
});
if (typeof browser) {
if (typeof browser !== 'undefined') {
browser.pageAction.show(tabId)
}
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Shifter Detector",
"description": "Is this site generated by Shifter?",
"version": "1.4",
"version": "1.5",
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
Expand Down

0 comments on commit 4d78363

Please sign in to comment.