aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-04-16 08:59:35 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-04-16 08:59:35 -0400
commit70b7ce360ca24393f44f14d102c9c119841f2d2a (patch)
tree4242d9bd499d61d7e3c11cc29e977c12791742fb /plugin
parent3f8f146466d49da7395ebdfc7671e8683c29c51a (diff)
downloadperl-software-in-gnu-guix-70b7ce360ca24393f44f14d102c9c119841f2d2a.tar
perl-software-in-gnu-guix-70b7ce360ca24393f44f14d102c9c119841f2d2a.tar.gz
return current fragment index through getIndices, replaces getCurrentFragmentIndex #395
Diffstat (limited to 'plugin')
-rw-r--r--plugin/multiplex/master.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/multiplex/master.js b/plugin/multiplex/master.js
index 21c2e81..deb39cd 100644
--- a/plugin/multiplex/master.js
+++ b/plugin/multiplex/master.js
@@ -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,