aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/link_hints.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-12-21 05:13:54 +0000
committerStephen Blott2016-12-21 05:13:54 +0000
commit3d7e37611c4af4877f72fa40f73cc6714d5b5485 (patch)
treea4532a3aeb2d1b0cbd428140323e2f4fe58ab6cd /content_scripts/link_hints.coffee
parent3fa11be0a64d5b98f9db8f052c46327aa0cc1deb (diff)
downloadvimium-3d7e37611c4af4877f72fa40f73cc6714d5b5485.tar.bz2
Tweak #2327.
Diffstat (limited to 'content_scripts/link_hints.coffee')
-rw-r--r--content_scripts/link_hints.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 3a8d0786..706e4dd5 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -444,8 +444,7 @@ class LinkHintsMode
# Use characters for hints, and do not filter links by their text.
class AlphabetHints
constructor: ->
- settingsLinkHintCharacters = Settings.get "linkHintCharacters"
- @linkHintCharacters = settingsLinkHintCharacters.toLowerCase()
+ @linkHintCharacters = Settings.get("linkHintCharacters").toLowerCase()
# We use the keyChar from keydown if the link-hint characters are all "a-z0-9". This is the default
# settings value, and preserves the legacy behavior (which always used keydown) for users which are
# familiar with that behavior. Otherwise, we use keyChar from keypress, which admits non-Latin