Skip to content

Commit

Permalink
Fix bug where scroller is stuck in infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
fqueiruga committed Jun 16, 2020
1 parent 93ed2e9 commit baf704d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ if(sticker == null || !sticker.contains(document.getElementById(id)) || footer.l
}
else{
//it is sticker button and it is moved up (footer does not overlap)
return (footer[0].getBoundingClientRect().top > sticker.getBoundingClientRect().bottom)
return (footer[0].getBoundingClientRect().top >= sticker.getBoundingClientRect().bottom)
}

0 comments on commit baf704d

Please sign in to comment.