mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Fix min image size, locationOf no longer uses scrollX / Y
This commit is contained in:
parent
661d4d77d1
commit
aa9c2535d9
3 changed files with 5 additions and 5 deletions
|
@ -545,8 +545,8 @@ class IframeView {
|
|||
var targetPos = this.contents.locationOf(target, this.settings.ignoreClass);
|
||||
|
||||
return {
|
||||
"left": window.scrollX + targetPos.left,
|
||||
"top": window.scrollY + targetPos.top
|
||||
"left": targetPos.left,
|
||||
"top": targetPos.top
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue