Popup related changes

pull/2/head
Deathamns 10 years ago committed by gorhill
parent 9cb78c2575
commit 3dc8e88c75

@ -19,6 +19,8 @@
Home: https://github.com/gorhill/uBlock Home: https://github.com/gorhill/uBlock
*/ */
/* global sendAsyncMessage */
// For background page or non-background pages // For background page or non-background pages
/******************************************************************************/ /******************************************************************************/
@ -92,6 +94,12 @@ setScriptDirection(navigator.language);
/******************************************************************************/ /******************************************************************************/
vAPI.closePopup = function() {
sendAsyncMessage(location.host + ':closePopup');
};
/******************************************************************************/
})(); })();
/******************************************************************************/ /******************************************************************************/

Loading…
Cancel
Save