1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

Temp disable scrolling to visible, always re-render

This commit is contained in:
Fred Chasen 2017-08-02 22:09:52 -04:00
parent 6401485f48
commit c2b3284259
5 changed files with 20 additions and 8 deletions

View file

@ -614,7 +614,9 @@ class Contents {
content = this.content || this.document.body;
content.classList.add(className);
if (content) {
content.classList.add(className);
}
}
@ -625,7 +627,9 @@ class Contents {
content = this.content || this.document.body;
content.classList.remove(className);
if (content) {
content.classList.remove(className);
}
}
@ -891,7 +895,7 @@ class Contents {
mark(cfiRange, data={}, cb) {
if (cfiRange in this.marks) {
item = this.marks[cfiRange];
let item = this.marks[cfiRange];
return item;
}