迁移五子棋外部入口脚本

This commit is contained in:
2026-04-25 18:14:07 +08:00
parent d5f9cf7371
commit 48d646d723
3 changed files with 59 additions and 11 deletions
@@ -938,15 +938,5 @@
};
}
/** 从外部打开五子棋面板 */
window.openGomokuPanel = function() {
const panel = document.getElementById('gomoku-panel');
if (panel) Alpine.$data(panel).open();
};
/** 接受 PvP 邀请并打开棋盘 */
window.acceptGomokuInvite = function(gameId) {
const panel = document.getElementById('gomoku-panel');
if (panel) Alpine.$data(panel).openAndJoin(gameId);
};
{{-- 五子棋外部打开入口已迁移到 resources/js/chat-room/gomoku-controls.js --}}
</script>