Browse Source

prevent invalid slidechanged on page load

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

4
js/reveal.js

@ -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

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