Index: safari/ext/popup.js |
=================================================================== |
--- a/safari/ext/popup.js |
+++ b/safari/ext/popup.js |
@@ -16,4 +16,9 @@ |
var backgroundPage = safari.extension.globalPage.contentWindow; |
window.ext = backgroundPage.ext; |
window.TabMap = backgroundPage.TabMap; |
+ |
+ window.closePopup = function() |
Sebastian Noack
2014/01/16 11:28:11
This should go into the ext namespace. However sin
Thomas Greiner
2014/01/16 15:17:48
Done.
|
+ { |
+ safari.self.hide(); |
+ } |
})(); |