Commit f4e23e60 authored by Randall Leeds's avatar Randall Leeds

Update deprecated jQuery.andSelf

parent 40e1543a
......@@ -412,7 +412,7 @@ class Annotator.Host extends Annotator
# Collect relevant annotations
annotations = $(event.target)
.parents('.annotator-hl')
.andSelf()
.addBack()
.map -> return $(this).data("annotation")
# Tell sidebar to show the viewer for these annotations
......@@ -429,4 +429,4 @@ class Annotator.Host extends Annotator
#Save the event for restarting edit
onAdderClick: (event) =>
@event = event
super
\ No newline at end of file
super
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