From 3d7e37611c4af4877f72fa40f73cc6714d5b5485 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Wed, 21 Dec 2016 05:13:54 +0000 Subject: Tweak #2327. --- content_scripts/link_hints.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'content_scripts') 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 -- cgit v1.2.3