Commit c94a438f authored by gergely-ujvari's avatar gergely-ujvari

Merge pull request #1732 from hypothesis/remove-some-dead-code

Remove some dead code
parents b6ae16c1 7b8f2015
...@@ -153,16 +153,6 @@ class Annotator.Guest extends Annotator ...@@ -153,16 +153,6 @@ class Annotator.Guest extends Annotator
this.publish "finalizeHighlights" this.publish "finalizeHighlights"
) )
.bind('setFocusedHighlights', (ctx, tags=[]) =>
for hl in @getHighlights()
annotation = hl.annotation
if annotation.$$tag in tags
hl.setFocused true, true
else
hl.setFocused false, true
this.publish "finalizeHighlights"
)
.bind('scrollTo', (ctx, tag) => .bind('scrollTo', (ctx, tag) =>
for hl in @getHighlights() for hl in @getHighlights()
if hl.annotation.$$tag is tag if hl.annotation.$$tag is tag
......
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