From 3a9b51c651d9b91e42e2636750b5e91d1dc03438 Mon Sep 17 00:00:00 2001 From: Antoine Date: Mon, 12 May 2025 16:08:00 +0200 Subject: [PATCH] REFACTOR Clean up app.js by removing console logs and ensuring menuInit is called on window load --- resources/js/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/js/app.js b/resources/js/app.js index 1839e1d..626bf8c 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -1,6 +1,6 @@ import menuInit from './header'; -console.log('menuInit'); -console.log('menuIniteeeee'); +import initSwiper from './swiper'; + window.addEventListener('load', function () { - menuInit(); -}); \ No newline at end of file + menuInit(); +});