Index: ext/background.js |
=================================================================== |
--- a/ext/background.js |
+++ b/ext/background.js |
@@ -76,8 +76,11 @@ |
global.ext.PageMap = PageMap; |
- global.ext.showOptions = function() |
+ global.ext.showOptions = function(callback) |
{ |
- window.open("http://example.com/options.html", "_blank"); |
+ if (callback) |
+ callback(); |
Felix Dahlke
2015/05/28 20:35:41
Isn't the callback supposed to be invoked after th
Thomas Greiner
2015/06/08 16:12:43
That's not necessarily correct. It will also be ca
|
+ else |
+ window.open("http://example.com/options.html", "_blank"); |
}; |
})(this); |