Add a 'final' filter to registration page; coherence check on server for final and skipping

This commit is contained in:
Claude Brisson
2024-02-28 19:39:03 +01:00
parent e692dbeabb
commit 024a8e8a5e
7 changed files with 58 additions and 13 deletions

View File

@@ -199,7 +199,7 @@ onLoad(() => {
switch (e.key) {
case 'Escape': {
if (tab === '#registration') {
if ($('#player').hasClass('shown') && $('#needle')[0].value) {
if ($('#player').hasClass('shown') && searchResultShown()) {
$('#needle')[0].value = '';
initSearch();
} else {