Merge pull request #664 from overra/escape-imageviewer

Close ImageViewer on escape
This commit is contained in:
AUTOMATIC1111 2022-09-18 20:40:27 +03:00 committed by GitHub
commit 4380b6598c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -53,6 +53,9 @@ function modalKeyHandler(event){
case "ArrowRight":
modalNextImage(event)
break;
case "Escape":
closeModal();
break;
}
}