Skip to content

Commit

Permalink
Merge pull request #583 from fqueiruga/jenkins-62691_scrollerjs-stuck…
Browse files Browse the repository at this point in the history
…-in-infinite-loop

[JENKINS-62691] Fix bug where scroller is stuck in infinite loop
  • Loading branch information
amuniz committed Jun 17, 2020
2 parents 93ed2e9 + baf704d commit a46455d
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 a46455d

Please sign in to comment.