Fix jshint test
This commit is contained in:
parent
510839ab04
commit
d355a04061
|
@ -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…
Reference in New Issue