Calyhre 10 жил өмнө
parent
commit
ed8d90bc58
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      js/reveal.js

+ 1 - 1
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;
 		}