Browse Source

Popup related changes

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
3dc8e88c75
  1. 8
      platform/firefox/vapi-common.js

8
platform/firefox/vapi-common.js

@ -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