mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-01 08:18:05 +09:00
chore: ⚰️ works
This commit is contained in:
parent
8abbf3112a
commit
33f858dc82
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user