1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

add bind(this) to 'replaceLinks' function

This commit is contained in:
AScripnic 2016-03-23 14:41:29 +02:00
parent d9a19e5a28
commit c2c10620ab

View file

@ -61,7 +61,7 @@ function links(view, renderer) {
}
}
};
}.bind(this);
for (var i = 0; i < links.length; i++) {
replaceLinks(links[i]);