1
0
Fork 0

Merge pull request #83 from basecode/patch-slidechange

slidechange doesn't get fired on "hashchange" events
This commit is contained in:
Hakim El Hattab 2012-07-18 18:18:41 -07:00
commit 54e59d02d4
1 changed files with 5 additions and 5 deletions

View File

@ -767,10 +767,10 @@ var Reveal = (function(){
var bits = window.location.hash.slice(2).split('/');
// Read the index components of the hash
indexh = parseInt( bits[0] ) || 0 ;
indexv = parseInt( bits[1] ) || 0 ;
var h = parseInt( bits[0] ) || 0 ;
var v = parseInt( bits[1] ) || 0 ;
navigateTo( indexh, indexv );
navigateTo( h, v );
}
/**