diff options
Diffstat (limited to 'lib/epub.js/examples/marks.html')
-rw-r--r-- | lib/epub.js/examples/marks.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/epub.js/examples/marks.html b/lib/epub.js/examples/marks.html index bbcb29a..a23ee86 100644 --- a/lib/epub.js/examples/marks.html +++ b/lib/epub.js/examples/marks.html @@ -69,7 +69,7 @@ // Apply a class to selected text rendition.on("selected", function(cfiRange, contents) { - var m = contents.mark(cfiRange, {'something' : true}, (e) => { + rendition.annotations.mark(cfiRange, {'something' : true}, (e) => { var bounds = e.target.getBoundingClientRect(); var clientX = e.clientX; |