chore: ⚰️ works

This commit is contained in:
ThatOneCalculator 2022-08-19 14:51:40 -07:00
parent 8abbf3112a
commit 33f858dc82

View File

@ -139,11 +139,6 @@ onMounted(() => {
function checkPosition() {
let windowY = window.scrollY;
postButton.style.transform = `scale(${windowY < scrollPos ? '1' : '0'})`;
// if (windowY < scrollPos) {
// postButton.style.transform = 'scale(1)';
// } else {
// postButton.style.transform = 'scale(0)';
// }
scrollPos = windowY;
}