From: Danilo M. Date: Fri, 17 Apr 2026 09:36:00 +0000 (+0200) Subject: debug: add console.log to test Alpine.js component registration X-Git-Tag: release_22042026-1342~141 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=5a14cd3ab6da0205dbbc4e1c7ddce2ea71a4b1b3;p=danix.xyz-2.git debug: add console.log to test Alpine.js component registration --- diff --git a/themes/danix-xyz-hacker/assets/js/not-found-page.js b/themes/danix-xyz-hacker/assets/js/not-found-page.js index ec42708..6ec8895 100644 --- a/themes/danix-xyz-hacker/assets/js/not-found-page.js +++ b/themes/danix-xyz-hacker/assets/js/not-found-page.js @@ -18,7 +18,9 @@ document.addEventListener('alpine:init', () => { }, toggleEasterEgg() { + console.log('toggleEasterEgg called, current state:', this.showEasterEgg); this.showEasterEgg = !this.showEasterEgg; + console.log('new state:', this.showEasterEgg); }, goToRandomArticle() { @@ -28,4 +30,6 @@ document.addEventListener('alpine:init', () => { } } })); + + console.log('notFoundPage Alpine component registered'); });