diff options
| -rw-r--r-- | themes/danix-xyz-hacker/assets/js/not-found-page.js | 4 |
1 files changed, 4 insertions, 0 deletions
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'); }); |
