From d36881945b063a75c670f29a53013e9c8b065d31 Mon Sep 17 00:00:00 2001 From: Konatsu Date: Fri, 23 Aug 2024 17:01:40 +0900 Subject: [PATCH] =?UTF-8?q?fix=20=E3=82=A8=E3=83=A9=E3=83=BC=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/develop/src/js/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/develop/src/js/main.js b/src/develop/src/js/main.js index b549b94..3249299 100755 --- a/src/develop/src/js/main.js +++ b/src/develop/src/js/main.js @@ -114,7 +114,9 @@ async function main() { }); addEventListener('htmx:afterSwap', function (event) { - ACMS.Dispatch(event.target); + if (window.ACMS !== undefined) { + ACMS.Dispatch(event.target); + } });