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:
parent
16d9c4aa53
commit
c6631d10b7
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue