добавил защиту для отчистки событий матча, тест 1

This commit is contained in:
2026-05-25 14:36:36 +03:00
parent 495121a8b7
commit 4336ab19df
3 changed files with 92 additions and 1 deletions

View File

@@ -4035,4 +4035,19 @@ function buildChannelValue(matchId) {
if (hasMatch) return "match";
return "";
}
function openClearMatchModal() {
const modal = document.getElementById("clearMatchModal");
if (modal) modal.classList.add("show");
}
function closeClearMatchModal() {
const modal = document.getElementById("clearMatchModal");
if (modal) modal.classList.remove("show");
}
function confirmClearMatch() {
closeClearMatchModal();
clearMatchEvents();
}