Browse Source

only call slide() after hash changes if indices have changed #529

embed
Hakim El Hattab 12 years ago
parent
commit
8dcf324f7a
  1. 4
      js/reveal.js
  2. 4
      js/reveal.min.js

4
js/reveal.js

@ -1819,7 +1819,9 @@ var Reveal = (function(){
var h = parseInt( bits[0], 10 ) || 0,
v = parseInt( bits[1], 10 ) || 0;
slide( h, v );
if( h !== indexh || v !== indexv ) {
slide( h, v );
}
}
}

4
js/reveal.min.js

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