소스 검색

Fix tests

Calyhre 10 년 전
부모
커밋
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;
 		}