summaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js3
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();