diff options
author | Hakim El Hattab | 2013-11-25 15:26:10 -0500 |
---|---|---|
committer | Hakim El Hattab | 2013-11-25 15:26:10 -0500 |
commit | 0fb343f5bff517a50bc33839929472d54cb586ef (patch) | |
tree | 214f694e1ac124f28b58fe6f37f181481cd0b7a6 /js/reveal.js | |
parent | 3427561b64a45716e897758509bf23a743492dda (diff) |
rewrite all fragment indices on startup
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 4 |
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' ) ); + } ); } |