delete some unnecessary code

This commit is contained in:
Geriano
2022-07-17 13:54:09 +07:00
parent 1cad99dc7c
commit 027d094e8f

View File

@@ -52,11 +52,6 @@ const floating = () => {
} }
onMounted(floating) onMounted(floating)
onMounted(() => {
const main = document.getElementById('main')
main.addEventListener('scroll', e => floating())
})
</script> </script>
<template> <template>