aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/options.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/options.coffee b/pages/options.coffee
index 0a71611a..8683b7ed 100644
--- a/pages/options.coffee
+++ b/pages/options.coffee
@@ -265,7 +265,7 @@ initOptionsPage = ->
maintainLinkHintsView()
initPopupPage = ->
- chrome.tabs.getSelected null, (tab) ->
+ chrome.tabs.query { active: true, currentWindow: true }, ([tab]) ->
exclusions = null
document.getElementById("optionsLink").setAttribute "href", chrome.runtime.getURL("pages/options.html")