From f1dd807f662da68ef240f0746794077072d49036 Mon Sep 17 00:00:00 2001 From: uriel Date: Thu, 31 Oct 2013 19:47:13 +0200 Subject: change SlidesNumber position and start page counter at 0 instead 1 --- js/reveal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/reveal.js b/js/reveal.js index 136dc93..619d8d2 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1791,9 +1791,9 @@ var Reveal = (function(){ var element = dom.slideNumber; // change the number of the page using 'indexh - indexv' format - var indexString = ( indexh + 1 ).toString(); + var indexString = indexh; if( indexv > 0 ) { - indexString += ' - ' + indexv.toString(); + indexString += ' - ' + indexv; } element.innerHTML = indexString; -- cgit v1.2.3