prevent invalid slidechanged on page load
This commit is contained in:
parent
3c5f3ee048
commit
3dc53b891d
2 changed files with 4 additions and 4 deletions
|
@ -1409,8 +1409,8 @@ var Reveal = (function(){
|
|||
// Reset the state array
|
||||
state.length = 0;
|
||||
|
||||
var indexhBefore = indexh,
|
||||
indexvBefore = indexv;
|
||||
var indexhBefore = indexh || 0,
|
||||
indexvBefore = indexv || 0;
|
||||
|
||||
// Activate and transition to the new slide
|
||||
indexh = updateSlides( HORIZONTAL_SLIDES_SELECTOR, h === undefined ? indexh : h );
|
||||
|
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue