Browse Source

fix previous slide navigation logic (closes #397)

embed
Hakim El Hattab 12 years ago
parent
commit
3f8f146466
  1. 2
      js/reveal.js
  2. 4
      js/reveal.min.js

2
js/reveal.js

@ -1627,7 +1627,7 @@ var Reveal = (function(){
if( previousSlide ) { if( previousSlide ) {
indexv = ( previousSlide.querySelectorAll( 'section' ).length + 1 ) || undefined; indexv = ( previousSlide.querySelectorAll( 'section' ).length + 1 ) || undefined;
indexh --; indexh --;
slide(); slide( indexh, indexv );
} }
} }
} }

4
js/reveal.min.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save