добавил защиту для отчистки событий матча, тест 1
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user