From ba0e432542fd5c6c9e4de561e9cb3196f80d2b65 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 22 Mar 2018 11:55:44 +0100 Subject: [PATCH] formatting --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/reveal.js b/js/reveal.js index be42f13b..0e9fb285 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 );