mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-23 14:59:36 +02:00
Disable registration
This commit is contained in:
parent
a48b2bf752
commit
fa35526cd1
3 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue