Commit 85b851f8 authored by Randall Leeds's avatar Randall Leeds

Fix error in texthighlight test

Use the jQuery from `Annotator.$`.
parent 794d6380
......@@ -49,7 +49,7 @@ describe 'Annotator.Plugin.TextHighlight', ->
it "assigns the annotation as data to the highlight span", ->
hl = createTestHighlight()
annotation = $(hl._highlights).data "annotation"
annotation = Annotator.$(hl._highlights).data "annotation"
assert.equal annotation, "test annotation"
describe "scrollToView", ->
......
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