Skip to content

Commit dd6c605

Browse files
committed
Remove assignment to indexv and indexh to trigger 'onslidechange' at startup and onhashchange.
1 parent d5c2d0c commit dd6c605

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

js/reveal.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -765,12 +765,12 @@ var Reveal = (function(){
765765
function readURL() {
766766
// Break the hash down to separate components
767767
var bits = window.location.hash.slice(2).split('/');
768-
768+
769769
// Read the index components of the hash
770-
indexh = parseInt( bits[0] ) || 0 ;
771-
indexv = parseInt( bits[1] ) || 0 ;
772-
773-
navigateTo( indexh, indexv );
770+
var h = parseInt( bits[0] ) || 0 ;
771+
var v = parseInt( bits[1] ) || 0 ;
772+
773+
navigateTo( h, v );
774774
}
775775

776776
/**

0 commit comments

Comments
 (0)