aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/link_hints.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/link_hints.coffee')
-rw-r--r--content_scripts/link_hints.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 7cd2dfbf..ba9ada38 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -571,9 +571,9 @@ class FilterHints
if position < 0
0 # No match.
else if position == 0 and searchWord.length == linkWord.length
- if idx == 0 then 8 else 6 # Whole-word match.
+ if idx == 0 then 8 else 4 # Whole-word match.
else if position == 0
- if idx == 0 then 4 else 2 # Match at the start of a word.
+ if idx == 0 then 6 else 2 # Match at the start of a word.
else
1 # 0 < position; other match.
Math.max linkWordScores...