From 70b7ce360ca24393f44f14d102c9c119841f2d2a Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 16 Apr 2013 08:59:35 -0400 Subject: return current fragment index through getIndices, replaces getCurrentFragmentIndex #395 --- plugin/multiplex/master.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') 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, -- cgit v1.2.3