aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index be42f13..0e9fb28 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1176,7 +1176,7 @@
window.addEventListener( 'resize', onWindowResize, false );
if( config.touch ) {
- if('onpointerdown' in window) {
+ if( 'onpointerdown' in window ) {
// Use W3C pointer events
dom.wrapper.addEventListener( 'pointerdown', onPointerDown, false );
dom.wrapper.addEventListener( 'pointermove', onPointerMove, false );