Files
wedding-phone/rotary_phone_web.py
grabowski aea52075f4 Fix JavaScript syntax errors by escaping emoji Unicode sequences
Replaced literal emoji characters in JavaScript strings with Unicode escape
sequences to prevent encoding issues that cause syntax errors. This resolves
the "Uncaught SyntaxError: Invalid or unexpected token" error at line 2572.

Changes:
- ⚠️ (U+26A0 U+FE0F) → \u26A0\uFE0F in confirm() dialogs
- 🔌 (U+1F50C) → \uD83D\uDD0C in shutdown alert
- 🔄 (U+1F504) → \uD83D\uDD04 in restart alert
- Template version updated to 1.9.2

The emojis still display correctly in the browser, but are now safely
encoded in the JavaScript source to prevent parsing errors.

Fixes: "shutdownSystem is not defined" and "restartSystem is not defined"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 17:41:41 +07:00

102 KiB