summaryrefslogtreecommitdiffhomepage
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab2012-01-02 23:48:09 -0800
committerHakim El Hattab2012-01-02 23:48:09 -0800
commit02f783b68d4f3592313b0825c48a47526761b2c3 (patch)
tree0d1076b9f45b4b718df51fd019678773d915af7a /js
parentcbd59efef8f7133c29917b073ceb3f1e77280f40 (diff)
prevent default on space press
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 2 insertions, 0 deletions
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();
}
}
}