1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

fix link event name in rendition

This commit is contained in:
Fred Chasen 2017-10-17 12:17:53 -07:00
parent 16d9c4aa53
commit c6631d10b7
2 changed files with 2 additions and 2 deletions

View file

@ -808,7 +808,7 @@ class Rendition {
handleLinks(contents) {
if (contents) {
contents.on("link", (href) => {
contents.on("linkClicked", (href) => {
let relative = this.book.path.relative(href);
this.display(relative);
});