Skip to content
Snippets Groups Projects
Commit 54e59d02 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

Merge pull request #83 from basecode/patch-slidechange

slidechange doesn't get fired on "hashchange" events
parents 819d2488 dd6c6058
Branches
No related tags found
No related merge requests found
......@@ -765,12 +765,12 @@ var Reveal = (function(){
function readURL() {
// Break the hash down to separate components
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 ;
navigateTo( indexh, indexv );
var h = parseInt( bits[0] ) || 0 ;
var v = parseInt( bits[1] ) || 0 ;
navigateTo( h, v );
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment