From 02f783b68d4f3592313b0825c48a47526761b2c3 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 2 Jan 2012 23:48:09 -0800 Subject: [PATCH] prevent default on space press --- js/reveal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/reveal.js b/js/reveal.js index 72756c15..aa5cc7d3 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -219,6 +219,8 @@ var Reveal = (function(){ else { activateOverview(); } + + event.preventDefault(); } } }