aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-06-11 05:54:17 +0100
committerStephen Blott2015-06-11 05:54:17 +0100
commit194cf92bd6d8624bd75b7092c5c51ec454919503 (patch)
tree78e4c42803e70aa4dd82b06f9bac05c8874abfbd
parent420f703794ce978d2d68433aacb0247d708b1c06 (diff)
downloadvimium-194cf92bd6d8624bd75b7092c5c51ec454919503.tar.bz2
Initialise options-page link-hint mode correctly (better).
-rw-r--r--pages/options.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/options.coffee b/pages/options.coffee
index ba1a7ca2..21e81c8f 100644
--- a/pages/options.coffee
+++ b/pages/options.coffee
@@ -229,8 +229,6 @@ initOptionsPage = ->
element.className = element.className + " example info"
element.innerHTML = "Leave empty to reset this option."
- $("filterLinkHints").checked = bgSettings.get "filterLinkHints"
- maintainLinkHintsView()
window.onbeforeunload = -> "You have unsaved changes to options." unless $("saveOptions").disabled
document.addEventListener "keyup", (event) ->
@@ -260,6 +258,8 @@ initOptionsPage = ->
for name, type of options
new type(name,onUpdated)
+ maintainLinkHintsView()
+
initPopupPage = ->
chrome.tabs.getSelected null, (tab) ->
exclusions = null