diff options
author | Greg Denehy | 2017-04-30 17:51:38 +0930 |
---|---|---|
committer | Greg Denehy | 2017-04-30 17:51:38 +0930 |
commit | e16508477ab541314452997d20aa6bdb5a8b0862 (patch) | |
tree | 142f05064cd14dde8b59df7e3ce03e8132613b64 | |
parent | f8bc6791827b7a291081a32ef3d86f5e23d186e7 (diff) |
Fixed notes.js to account for upstream updates
-rw-r--r-- | plugin/notes/notes.js | 7 |
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(); + } ); } |