Commit 7e42a0f3 authored by Adam Snodgrass's avatar Adam Snodgrass

close on escape

parent c76a616b
...@@ -53,6 +53,9 @@ function modalKeyHandler(event){ ...@@ -53,6 +53,9 @@ function modalKeyHandler(event){
case "ArrowRight": case "ArrowRight":
modalNextImage(event) modalNextImage(event)
break; break;
case "Escape":
closeModal();
break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment