mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-11 00:55:01 +02:00
merge navigate prev fix #493
This commit is contained in:
@@ -2051,9 +2051,9 @@ var Reveal = (function(){
|
||||
var previousSlide = document.querySelector( HORIZONTAL_SLIDES_SELECTOR + '.past:nth-child(' + indexh + ')' );
|
||||
|
||||
if( previousSlide ) {
|
||||
indexv = ( previousSlide.querySelectorAll( 'section' ).length + 1 ) || undefined;
|
||||
indexh --;
|
||||
slide( indexh, indexv );
|
||||
var v = ( previousSlide.querySelectorAll( 'section' ).length - 1 ) || undefined;
|
||||
var h = indexh - 1;
|
||||
slide( h, v );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user