aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 3f56435..c311fb0 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3297,7 +3297,12 @@
// Check if the pressed key is question mark
if( event.shiftKey && event.charCode === 63 ) {
- showHelp();
+ if( dom.overlay ) {
+ closeOverlay();
+ }
+ else {
+ showHelp( true );
+ }
}
}