|
@@ -1507,6 +1507,13 @@ var Reveal = (function(){
|
|
else if( i > index ) {
|
|
else if( i > index ) {
|
|
|
|
|
|
element.classList.add( reverse ? 'past' : 'future' );
|
|
element.classList.add( reverse ? 'past' : 'future' );
|
|
|
|
+
|
|
|
|
+ var fragments = toArray( element.querySelectorAll( '.fragment.visible' ) );
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ while( fragments.length ) {
|
|
|
|
+ fragments.pop().classList.remove( 'visible' );
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|