소스 검색

returning index only when current fragment is defined

tkaczmarzyk 12 년 전
부모
커밋
2256621169
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 1 - 1
js/reveal.js

@@ -2050,7 +2050,7 @@ var Reveal = (function(){
 			if( currentSlide ) {
 				var visibleFragments = currentSlide.querySelectorAll( '.fragment.visible' );
 
-				if( visibleFragments ) {
+				if( visibleFragments.length ) {
 					return visibleFragments.length;
 				}
 			}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
js/reveal.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.