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

Merge pull request #20 from Fil/master

reveal.js was failing when the hash was of an unexpected format
parents 7f3bf140 81cda214
No related branches found
No related tags found
No related merge requests found
......@@ -528,8 +528,8 @@ var Reveal = (function(){
var bits = window.location.hash.slice(2).split('/');
// Read the index components of the hash
indexh = bits[0] ? parseInt( bits[0] ) : 0;
indexv = bits[1] ? parseInt( bits[1] ) : 0;
indexh = parseInt( bits[0] ) || 0 ;
indexv = parseInt( bits[1] ) || 0 ;
navigateTo( indexh, indexv );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment