return current fragment index through getIndices, replaces getCurrentFragmentIndex #395

This commit is contained in:
Hakim El Hattab committed 2013-04-16 08:59:35 -04:00
1 parent 3f8f146466
commit 70b7ce360c
3 files changed
+15 -18

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@
var nextindexh;
var nextindexv;
var fragmentindex = Reveal.getCurrentFragmentIndex();
var fragmentindex = Reveal.getIndices().f;
if (typeof fragmentindex == 'undefined') {
fragmentindex = 0;
}
@@ -21,7 +21,7 @@
} else {
nextindexh = indexh + 1;
nextindexv = 0;
}
}
var slideData = {
indexh : indexh,