aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 6c9dec3..14d5693 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -347,8 +347,12 @@ var Reveal = (function(){
if( y > 0 ) verticalSlide.classList.add( 'future' );
+ sortFragments( verticalSlide.querySelectorAll( '.fragment' ) );
+
} );
+ if( verticalSlides.length === 0 ) sortFragments( horizontalSlide.querySelectorAll( '.fragment' ) );
+
} );
}