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
bucket = @tabs.index(event.currentTarget)
for hl in @annotator.getHighlights()
if hl.annotation in @buckets[bucket]
hl.setFocus true
hl.setFocused true
else
hl.setFocus false
hl.setFocused false
# Gets rid of them after
.on 'mouseout', =>
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
.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