Commit 65cbfbc5 authored by Randall Leeds's avatar Randall Leeds

Fix mistake setFocus -> setFocused

parent 8965189f
...@@ -320,14 +320,14 @@ class Annotator.Plugin.Heatmap extends Annotator.Plugin ...@@ -320,14 +320,14 @@ class Annotator.Plugin.Heatmap extends Annotator.Plugin
bucket = @tabs.index(event.currentTarget) bucket = @tabs.index(event.currentTarget)
for hl in @annotator.getHighlights() for hl in @annotator.getHighlights()
if hl.annotation in @buckets[bucket] if hl.annotation in @buckets[bucket]
hl.setFocus true hl.setFocused true
else else
hl.setFocus false hl.setFocused false
# Gets rid of them after # Gets rid of them after
.on 'mouseout', => .on 'mouseout', =>
for hl in @annotator.getHighlights() for hl in @annotator.getHighlights()
hl.setFocus false hl.setFocused false
# Does one of a few things when a tab is clicked depending on type # Does one of a few things when a tab is clicked depending on type
.on 'click', (event) => .on 'click', (event) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment