Browse Source

Fix jshint test

embed
Rick Lupton 12 years ago
parent
commit
d355a04061
  1. 4
      js/reveal.js

4
js/reveal.js

@ -1758,8 +1758,8 @@ var Reveal = (function(){
var previousSlide = document.querySelector( HORIZONTAL_SLIDES_SELECTOR + '.past:nth-child(' + indexh + ')' ); var previousSlide = document.querySelector( HORIZONTAL_SLIDES_SELECTOR + '.past:nth-child(' + indexh + ')' );
if( previousSlide ) { if( previousSlide ) {
var v = ( previousSlide.querySelectorAll( 'section' ).length - 1 ) || undefined, var v = ( previousSlide.querySelectorAll( 'section' ).length - 1 ) || undefined;
h = indexh - 1; var h = indexh - 1;
slide( h, v ); slide( h, v );
} }
} }

Loading…
Cancel
Save