From 73bb56e5e0fc5f2f4f748a1726339ab0d6ccab6a Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Sat, 25 Nov 2017 21:36:42 +0500 Subject: [PATCH] Open options page expanded while on addons page --- .../src/extension-common/pages/options/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/index.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/index.js index af5329d..feb5271 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/index.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/index.js @@ -35,7 +35,7 @@ chrome.runtime.getBackgroundPage( (bgWindow) => ) ); - theState.flags.ifInsideOptionsPage = !currentTab || currentTab.url.startsWith('chrome://extensions/?options='); + theState.flags.ifInsideOptionsPage = !currentTab || currentTab.url.startsWith('chrome://extensions/?options=') || currentTab.url.startsWith('about:addons'); theState.currentTab = currentTab; // STATE DEFINED, COMPOSE.