diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-07-18 21:53:00 -0400 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-07-18 21:53:00 -0400 |
commit | 1bb810e072869702fa6aafe085787a44b54d34f2 (patch) | |
tree | 747169cc851e7c54f43a42a0760f19367418d364 /js/reveal.js | |
parent | 0148b3fc2d0e356a363b3723bd25d0398e10266b (diff) | |
download | fosdem-2018-presentation-1bb810e072869702fa6aafe085787a44b54d34f2.tar fosdem-2018-presentation-1bb810e072869702fa6aafe085787a44b54d34f2.tar.gz |
add optional 'o' key to toggle overview #491
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index 48cba2c..651b1be 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -2187,7 +2187,8 @@ var Reveal = (function(){ if( triggered ) { event.preventDefault(); } - else if ( event.keyCode === 27 && supports3DTransforms ) { + // ESC or O key + else if ( ( event.keyCode === 27 || event.keyCode === 79 ) && supports3DTransforms ) { toggleOverview(); event.preventDefault(); |