diff options
author | Tobi Reiss <tag+github@basecode.de> | 2012-07-17 10:05:55 +0200 |
---|---|---|
committer | Tobi Reiss <tag+github@basecode.de> | 2012-07-17 10:05:55 +0200 |
commit | dd6c60582654f6a1a9237529007160ed6f3b3348 (patch) | |
tree | c51cfb02cfa0ec07330eb51cddd9af881cad3dcd /js | |
parent | d5c2d0c03ed0c06bff91a622b3738e1bad996dd5 (diff) | |
download | perl-software-in-gnu-guix-dd6c60582654f6a1a9237529007160ed6f3b3348.tar perl-software-in-gnu-guix-dd6c60582654f6a1a9237529007160ed6f3b3348.tar.gz |
Remove assignment to `indexv` and `indexh` to trigger 'onslidechange' at startup and onhashchange.
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/reveal.js b/js/reveal.js index 9276da3..c9e69a8 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -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 ); } /** |