forked from rDrama/rDrama
1
0
Fork 0

fix console error

master
Aevann 2023-07-23 02:49:45 +03:00
parent da5701ec7c
commit 55cfb21b46
1 changed files with 2 additions and 1 deletions

View File

@ -15,5 +15,6 @@ if (standalone) {
img.setAttribute("src", window.scrollY < threshold ? thresholdImg : defaultImg);
});
} else {
document.getElementById("pulltorefresh").remove();
const pulltorefresh = document.getElementById("pulltorefresh")
if (pulltorefresh) pulltorefresh.remove();
}