From: Hakim El Hattab Date: Tue, 3 Jan 2012 07:48:09 +0000 (-0800) Subject: prevent default on space press X-Git-Tag: 1.2.0~31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=02f783b68d4f3592313b0825c48a47526761b2c3;p=reveal.js.git prevent default on space press --- diff --git a/js/reveal.js b/js/reveal.js index 72756c1..aa5cc7d 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -219,6 +219,8 @@ var Reveal = (function(){ else { activateOverview(); } + + event.preventDefault(); } } }