summaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 9b7b196..ac1b8b8 100644
--- a/js/reveal.js
+++ b/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;
}
}