1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-14 08:15:03 +12:00

Popup related changes

This commit is contained in:
Deathamns 2014-12-25 14:53:30 +01:00 committed by gorhill
parent 9cb78c2575
commit 3dc8e88c75

View file

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