From 2fa62e12a14331f576675aa12cdb730c84718a8e Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 26 Sep 2017 16:49:41 -0400 Subject: [PATCH] fix https://github.com/gorhill/uBlock/issues/3057 --- platform/chromium/manifest.json | 2 +- platform/chromium/vapi-common.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index b4bc8d3..6f1f15f 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uMatrix", "short_name": "uMatrix", - "version": "1.0.1.101", + "version": "1.0.1.102", "description": "__MSG_extShortDesc__", "icons": { "16": "img/icon_16.png", diff --git a/platform/chromium/vapi-common.js b/platform/chromium/vapi-common.js index 932ce9b..3ce4514 100644 --- a/platform/chromium/vapi-common.js +++ b/platform/chromium/vapi-common.js @@ -81,7 +81,7 @@ setScriptDirection(vAPI.i18n('@@ui_locale')); /******************************************************************************/ vAPI.closePopup = function() { - window.open('','_self').close(); + window.close(); }; /******************************************************************************/