Be even a little more careful.
This commit is contained in:
parent
36a2a26a75
commit
e21fbb621a
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@ chrome.runtime.onInstalled.addListener(function(e) {
|
|||
this.openWhenComplete = true;
|
||||
}
|
||||
openWindow = function() {
|
||||
if (upgrade.count <= 0) {
|
||||
openWindow = upgrade.openFunction;
|
||||
return openWindow();
|
||||
}
|
||||
upgrade.openWhenComplete = true;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue