diff --git a/manifest.json b/manifest.json index 9db523e..92a0a05 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "ActivityWatch Web Watcher", "short_name": "ActivityWatch", "description": "Log the current tab and your browser activity with ActivityWatch.", - "version": "0.4.6", + "version": "0.4.7", "icons": { "128": "media/logo/logo-128.png" }, diff --git a/src/eventPage.js b/src/eventPage.js index 23405e9..9e3d2b8 100644 --- a/src/eventPage.js +++ b/src/eventPage.js @@ -196,6 +196,8 @@ function startPopupListener() { chrome.storage.local.set({"enabled": true}); startWatcher(); } + } else if (obj.enabled) { + startWatcher(); } }); chrome.runtime.onMessage.addListener(popupRequestReceived);