From ed8d90bc58b811a921cdad53fd6d418be8bb9765 Mon Sep 17 00:00:00 2001 From: Calyhre Date: Wed, 18 Jun 2014 14:23:42 +0200 Subject: [PATCH] Fix tests --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/reveal.js b/js/reveal.js index b4cb17f..f844456 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -3791,7 +3791,7 @@ } function preventSwipe(target) { - while( target && typeof target.hasAttribute == 'function' ) { + while( target && typeof target.hasAttribute === 'function' ) { if(target.hasAttribute('prevent-swipe')) return true; target = target.parentNode; }