Fixed notes.js to account for upstream updates

This commit is contained in:
Greg Denehy 2017-04-30 17:51:38 +09:30
parent f8bc679182
commit e16508477a

View File

@ -131,10 +131,9 @@ var RevealNotes = (function() {
} }
// Open the notes when the 's' key is hit // Open the notes when the 's' key is hit
Reveal.addKeyBinding({keyCode: 83, key: 'S', description: 'Speaker notes'}, openNotes); Reveal.addKeyBinding({keyCode: 83, key: 'S', description: 'Speaker notes view'}, function() {
openNotes();
// Show our keyboard shortcut in the reveal.js help overlay } );
if( window.Reveal ) Reveal.registerKeyboardShortcut( 'S', 'Speaker notes view' );
} }