mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
removed equal in isElementVisible
This commit is contained in:
parent
b5b43bd77a
commit
0e57823e86
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ EPUBJS.Renderer.prototype.isElementVisible = function(el){
|
|||
left = el.getBoundingClientRect().left;
|
||||
|
||||
if( left >= 0 &&
|
||||
left <= this.spreadWidth ) {
|
||||
left < this.spreadWidth ) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue