Add confirmation before freeze

This commit is contained in:
Claude Brisson
2024-08-20 15:33:57 +02:00
parent 773b9b7b1e
commit 4556f22968

View File

@@ -97,6 +97,8 @@ onLoad(() => {
publishHtml(); publishHtml();
}); });
$('#freeze').on('click', e => { $('#freeze').on('click', e => {
freeze() if (confirm("Once frozen, names, levels and even pairings can be changed, but the scores and the standings will stay the same. Freeze the standings?")) {
freeze()
}
}); });
}); });