prevent invalid slidechanged on page load
parent
3c5f3ee048
commit
3dc53b891d
|
@ -1409,8 +1409,8 @@ var Reveal = (function(){
|
||||||
// Reset the state array
|
// Reset the state array
|
||||||
state.length = 0;
|
state.length = 0;
|
||||||
|
|
||||||
var indexhBefore = indexh,
|
var indexhBefore = indexh || 0,
|
||||||
indexvBefore = indexv;
|
indexvBefore = indexv || 0;
|
||||||
|
|
||||||
// Activate and transition to the new slide
|
// Activate and transition to the new slide
|
||||||
indexh = updateSlides( HORIZONTAL_SLIDES_SELECTOR, h === undefined ? indexh : h );
|
indexh = updateSlides( HORIZONTAL_SLIDES_SELECTOR, h === undefined ? indexh : h );
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue