Stop claiming when tab is closed during claim

This commit is contained in:
Les De Ridder 2017-11-10 01:39:52 +01:00
parent c64b1a0017
commit 6aaf98a693
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ function updateBrowserActionStatus() {
if(tabs.length == 0) {
chrome.browserAction.disable();
onEndClaimAll();
updateState('manual');
} else {
chrome.browserAction.enable();