Search and search switches are functional

This commit is contained in:
Claude Brisson
2023-12-17 19:42:16 +01:00
parent ea44f6068e
commit 98192a1ebc
13 changed files with 228 additions and 82 deletions

View File

@@ -92,14 +92,13 @@
$('#lang-list').removeClass('shown');
}
});
$('.popup .close').on('click', e => {
$('.popup .popup-footer .close').on('click', e => {
let popup = e.target.closest('.popup');
if (popup) {
popup.classList.remove('shown');
$('body').removeClass('dimmed');
}
});
});
// syntaxic sugar for IMask