1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 14:59:36 +02:00

Disable registration

This commit is contained in:
Sean Morley 2024-08-16 10:59:31 -04:00
parent a48b2bf752
commit fa35526cd1
3 changed files with 15 additions and 1 deletions

View file

@ -92,7 +92,13 @@
function handleKeydown(event: KeyboardEvent) {
if (event.key === 'Escape') {
close();
if (isImageFetcherOpen) {
isImageFetcherOpen = false;
} else if (isPointModalOpen) {
isPointModalOpen = false;
} else {
close(); // Closes the main adventure modal
}
}
}