Open options page expanded while on addons page

This commit is contained in:
Ilya Ig. Petrov 2017-11-25 21:36:42 +05:00
parent 466fe1451d
commit 73bb56e5e0

View File

@ -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; theState.currentTab = currentTab;
// STATE DEFINED, COMPOSE. // STATE DEFINED, COMPOSE.