From 3bbde66c8b18be9ef18c6f1b7643a9a0bf7d169e Mon Sep 17 00:00:00 2001 From: Jade McGough Date: Mon, 8 May 2017 16:39:14 -0700 Subject: [PATCH] add comment --- ui/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/index.js b/ui/src/index.js index 45f2aaf44..fe404c703 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -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()) }