docs/source/_static/presentations/js/reveal.js
/**
	 * Resets all vertical slides so that only the first
	 * is visible.
	 */
Resets all vertical slides so that only the first
is visible.
Resets all vertical slides so that only the first is visible .
function resetVerticalSlides() {
		var horizontalSlides = toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) );
		horizontalSlides.forEach( function( horizontalSlide ) {
			var verticalSlides = toArray( horizontalSlide.querySelectorAll( 'section' ) );
			verticalSlides.forEach( function( verticalSlide, y ) {
				if( y > 0 ) {
					verticalSlide.classList.remove( 'present' );
					verticalSlide.classList.remove( 'past' );
					verticalSlide.classList.add( 'future' );
				}
			} );
		} );
	}
function resetVerticalSlides ( ) { var horizontalSlides = toArray ( document . querySelectorAll ( HORIZONTAL_SLIDES_SELECTOR ) ) ; horizontalSlides . forEach ( function ( horizontalSlide ) { var verticalSlides = toArray ( horizontalSlide . querySelectorAll ( 'section' ) ) ; verticalSlides . forEach ( function ( verticalSlide , y ) { if ( y > 0 ) { verticalSlide . classList . remove ( 'present' ) ; verticalSlide . classList . remove ( 'past' ) ; verticalSlide . classList . add ( 'future' ) ; } } ) ; } ) ; }
Resets all vertical slides so that only the first
 is visible.
Resets all vertical slides so that only the first is visible .