projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c2d0c
)
Remove assignment to `indexv` and `indexh` to trigger 'onslidechange' at startup...
author
Tobi Reiss
<tag+github@basecode.de>
Tue, 17 Jul 2012 08:05:55 +0000
(10:05 +0200)
committer
Tobi Reiss
<tag+github@basecode.de>
Tue, 17 Jul 2012 08:05:55 +0000
(10:05 +0200)
js/reveal.js
patch
|
blob
|
history
diff --git
a/js/reveal.js
b/js/reveal.js
index 9276da3a6a138c155ded65ab67e2757571c7806a..c9e69a8f8b372e5688a18bcc7a9b6c96ea69ff13 100644
(file)
--- 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
-
index
h = parseInt( bits[0] ) || 0 ;
-
index
v = parseInt( bits[1] ) || 0 ;
-
- navigateTo(
indexh, index
v );
+
var
h = parseInt( bits[0] ) || 0 ;
+
var
v = parseInt( bits[1] ) || 0 ;
+
+ navigateTo(
h,
v );
}
/**