aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGreg Denehy <greg@inclose.com.au>2017-04-30 17:51:38 +0930
committerGreg Denehy <greg@inclose.com.au>2017-04-30 17:51:38 +0930
commite16508477ab541314452997d20aa6bdb5a8b0862 (patch)
tree142f05064cd14dde8b59df7e3ce03e8132613b64 /plugin
parentf8bc6791827b7a291081a32ef3d86f5e23d186e7 (diff)
downloadperl-software-in-gnu-guix-e16508477ab541314452997d20aa6bdb5a8b0862.tar
perl-software-in-gnu-guix-e16508477ab541314452997d20aa6bdb5a8b0862.tar.gz
Fixed notes.js to account for upstream updates
Diffstat (limited to 'plugin')
-rw-r--r--plugin/notes/notes.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js
index 1a35110..3f00eb6 100644
--- a/plugin/notes/notes.js
+++ b/plugin/notes/notes.js
@@ -131,10 +131,9 @@ var RevealNotes = (function() {
}
// Open the notes when the 's' key is hit
- Reveal.addKeyBinding({keyCode: 83, key: 'S', description: 'Speaker notes'}, openNotes);
-
- // Show our keyboard shortcut in the reveal.js help overlay
- if( window.Reveal ) Reveal.registerKeyboardShortcut( 'S', 'Speaker notes view' );
+ Reveal.addKeyBinding({keyCode: 83, key: 'S', description: 'Speaker notes view'}, function() {
+ openNotes();
+ } );
}