1 parent a3a2920 commit 366c077Copy full SHA for 366c077
1 file changed
src/App.vue
@@ -153,9 +153,6 @@ import { SplitText } from "gsap/SplitText";
153
gsap.registerPlugin(ScrollTrigger, ScrollSmoother, ScrollToPlugin, SplitText);
154
155
const animateBox = ref(null);
156
-window.addEventListener("resize",()=>{
157
- location.reload();
158
-});
159
onMounted(() => {
160
let smoother = ScrollSmoother.create({
161
smooth: 0.1,
@@ -313,7 +310,6 @@ onMounted(() => {
313
310
});
314
311
315
312
316
- ScrollTrigger.refresh();
317
318
319
</script>
0 commit comments