Mac Mahon groups edition

This commit is contained in:
Claude Brisson
2024-01-25 06:43:38 +01:00
parent 6fff3893f2
commit a4b18e0ef1
10 changed files with 150 additions and 11 deletions

View File

@@ -162,6 +162,7 @@ function close_modal() {
$('body').removeClass('dimmed');
$(`.popup`).removeClass('shown');
store('addingPlayers', false);
store('macmahonGroups', false);
}
function downloadFile(blob, filename) {
@@ -177,11 +178,14 @@ function downloadFile(blob, filename) {
onLoad(() => {
$('button.close').on('click', e => {
close_modal();
/* no need to be specific...
let modal = e.target.closest('.popup');
if (modal) {
modal.removeClass('shown');
$('body').removeClass('dimmed');
}
*/
});
/* commented for now - do we want this?
@@ -267,4 +271,3 @@ onLoad(() => {
}
});