aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/link_hints.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 0014e20a..3a8d0786 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -444,7 +444,8 @@ class LinkHintsMode
# Use characters for hints, and do not filter links by their text.
class AlphabetHints
constructor: ->
- @linkHintCharacters = Settings.get "linkHintCharacters"
+ settingsLinkHintCharacters = Settings.get "linkHintCharacters"
+ @linkHintCharacters = settingsLinkHintCharacters.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