diff options
Diffstat (limited to 'plugin/notes')
-rw-r--r-- | plugin/notes/notes.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html index 9922a29..5b75d73 100644 --- a/plugin/notes/notes.html +++ b/plugin/notes/notes.html @@ -434,8 +434,9 @@ function setupKeyboard() { document.addEventListener( 'keydown', function( event ) { - if (event.keyCode === 116) { + if( event.keyCode === 116 || ( event.metaKey && event.keyCode === 82 ) ) { event.preventDefault(); + return false; } currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'triggerKey', args: [ event.keyCode ] }), '*' ); } ); |