mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-20 13:31:55 +02:00
return current fragment index through getIndices, replaces getCurrentFragmentIndex #395
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user