Skip to content

Commit

Permalink
fix: avoid extension stalling after closing browser
Browse files Browse the repository at this point in the history
  • Loading branch information
av committed Jul 29, 2020
1 parent 671fc20 commit 5f324d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wutch-chrome-extension",
"version": "1.0.0",
"version": "1.0.1",
"description": "Chrome extension for Wutch",
"private": true,
"dependencies": {
Expand Down
4 changes: 1 addition & 3 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ function startHighlighter() {
});
}

chrome.runtime.onInstalled.addListener(() => {
chrome.browserAction.onClicked.addListener(startHighlighter);
});
chrome.browserAction.onClicked.addListener(startHighlighter);
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Wutch",
"version": "1.0.0",
"version": "1.0.1",
"description": "Wutch.net allows you to track any value on the Web.",
"permissions": [
"activeTab"
Expand Down

0 comments on commit 5f324d7

Please sign in to comment.