diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-09-09 22:04:50 -0400 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-09-09 22:04:50 -0400 |
commit | be657e0943a3225b9ada0b2175e0c731a30e0f69 (patch) | |
tree | 1cbbf8e097c38398b2cc5bd8a9dca9dc088eb64a /js/reveal.js | |
parent | 6a54cf04d0a7389f3c265151c48c6e4b70e81d6e (diff) | |
download | fosdem-2018-presentation-be657e0943a3225b9ada0b2175e0c731a30e0f69.tar fosdem-2018-presentation-be657e0943a3225b9ada0b2175e0c731a30e0f69.tar.gz |
add rvl.io to readme and template slide
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/js/reveal.js b/js/reveal.js index 1943e15..d48dd29 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1,5 +1,5 @@ /*! - * reveal.js 2.0 r22 + * reveal.js 2.0 r23 * http://lab.hakim.se/reveal-js * MIT licensed * @@ -340,12 +340,9 @@ var Reveal = (function(){ * @param {Object} event */ function onDocumentKeyDown( event ) { - // FFT: Use document.querySelector( ':focus' ) === null - // instead of checking contentEditable? - // Disregard the event if the target is editable or a // modifier is present - if ( event.target.contentEditable != 'inherit' || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return; + if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return; var triggered = false; |