add comment

pull/1417/head
Jade McGough 2017-05-08 16:39:14 -07:00
parent 84f3957658
commit 3bbde66c8b
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ browserHistory.listen(() => {
window.addEventListener('keyup', event => {
const escapeKeyCode = 27
// fallback for browsers that don't support event.key
if (event.key === 'Escape' || event.keyCode === escapeKeyCode) {
dispatch(disablePresentationMode())
}