Be even a little more careful.

This commit is contained in:
Thomas Wilburn 2013-12-03 14:54:06 -08:00
parent 36a2a26a75
commit e21fbb621a

View file

@ -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;
}
},