diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-01-08 13:49:06 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-01-08 13:49:06 +0100 |
commit | 06cdd9b7cd62ffde1f8ebcc91b66ae45944718c7 (patch) | |
tree | cc279aab1a8d21011a5cfc4e92684c2dde1b4453 /js | |
parent | 4ee6769e0f3a80e8609f5586163d5fb5d4e65eb9 (diff) | |
download | perl-software-in-gnu-guix-06cdd9b7cd62ffde1f8ebcc91b66ae45944718c7.tar perl-software-in-gnu-guix-06cdd9b7cd62ffde1f8ebcc91b66ae45944718c7.tar.gz |
include speaker view keyboard shortcut when applicable #1466
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js index 9302f82..c576c8c 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -4684,6 +4684,11 @@ // Programatically triggers a keyboard event triggerKey: function( keyCode ) { onDocumentKeyDown( { keyCode: keyCode } ); + }, + + // Registers a new shortcut to include in the help overlay + registerKeyboardShortcut: function( key, value ) { + keyboardShortcuts[key] = value; } }; |