From d3832018d381b900f086d51c87e93dda58ad2278 Mon Sep 17 00:00:00 2001 From: khj0414 Date: Mon, 24 Feb 2025 09:45:11 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20?= =?UTF-8?q?=EC=97=90=EB=9F=AC=20/=EC=BD=98=EC=86=94=20=EC=A0=9C=EA=B1=B0?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/main.js | 4 ++-- src/layouts/NormalLayout.vue | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 7937823..b1dcbc9 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -4,8 +4,8 @@ 'use strict' -let menu, animate -;(function () { +var menu, animate; +(function () { // Initialize menu //----------------- diff --git a/src/layouts/NormalLayout.vue b/src/layouts/NormalLayout.vue index e6af2d8..b2295de 100644 --- a/src/layouts/NormalLayout.vue +++ b/src/layouts/NormalLayout.vue @@ -38,12 +38,12 @@ const loadScript = src => { script.type = 'text/javascript'; script.async = true; document.body.appendChild(script); - script.onload = () => { - console.log(`${src} loaded successfully.`); - }; - script.onerror = () => { - console.error(`Failed to load script: ${src}`); - }; + // script.onload = () => { + // console.log(`${src} loaded successfully.`); + // }; + // script.onerror = () => { + // console.error(`Failed to load script: ${src}`); + // }; }; nextTick(async () => { await wait(200);