aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-06-11 06:32:04 +0100
committerStephen Blott2015-06-11 06:32:04 +0100
commita414ed803a33c7af57441fa8527db1dfad79ed41 (patch)
tree66b50410a1d968618cb63bb8c9c42f80290b9888
parent53d131700e5f33cb9476f00a905c238b0083f3dc (diff)
downloadvimium-a414ed803a33c7af57441fa8527db1dfad79ed41.tar.bz2
Revert "Make "a-z" characters work in filter hints mode."
This reverts commit 53d131700e5f33cb9476f00a905c238b0083f3dc. (This needs more thought.)
-rw-r--r--content_scripts/link_hints.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 1be762c6..15af15c5 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -532,7 +532,7 @@ class FilterHints
# input. use them to filter the link hints accordingly.
matchString = @hintKeystrokeQueue.join ""
linksMatched = @filterLinkHints hintMarkers
- linksMatched = linksMatched.filter (linkMarker) -> linkMarker.hintString.toLowerCase().startsWith matchString
+ linksMatched = linksMatched.filter (linkMarker) -> linkMarker.hintString.startsWith matchString
if linksMatched.length == 1 && @hintKeystrokeQueue.length == 0 and 0 < @linkTextKeystrokeQueue.length
# In filter mode, people tend to type out words past the point needed for a unique match. Hence we