We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf18f0 commit 964a1d5Copy full SHA for 964a1d5
bottomfloat.js
@@ -118,7 +118,7 @@ function checkBottomFloat() {
118
window.setTimeout(() => {
119
120
// if still on bottom of codeit
121
- if ((st + cd.offsetHeight) >= cd.scrollHeight) {
+ if ((cd.scrollTop + cd.offsetHeight) >= cd.scrollHeight) {
122
123
// show bottom float
124
bottomFloat.classList.remove('hidden');
0 commit comments