Stop claiming when tab is closed during claim
This commit is contained in:
parent
c64b1a0017
commit
6aaf98a693
|
@ -27,6 +27,7 @@ function updateBrowserActionStatus() {
|
||||||
if(tabs.length == 0) {
|
if(tabs.length == 0) {
|
||||||
chrome.browserAction.disable();
|
chrome.browserAction.disable();
|
||||||
|
|
||||||
|
onEndClaimAll();
|
||||||
updateState('manual');
|
updateState('manual');
|
||||||
} else {
|
} else {
|
||||||
chrome.browserAction.enable();
|
chrome.browserAction.enable();
|
||||||
|
|
Loading…
Reference in New Issue