mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
fixed #722
This commit is contained in:
parent
bdd1c3f136
commit
f11c652362
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ var getTargetAppearance = () => {
|
|||
window.addEventListener("DOMContentLoaded", (event) => {
|
||||
const scroller = document.getElementById("top-scroller");
|
||||
const footer = document.getElementById("site-footer");
|
||||
if(scroller.getBoundingClientRect().top > footer.getBoundingClientRect().top) {
|
||||
if(scroller && footer && scroller.getBoundingClientRect().top > footer.getBoundingClientRect().top) {
|
||||
scroller.hidden = true;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue