change SlidesNumber position and start page counter at 0 instead 1

This commit is contained in:
uriel
2013-10-31 19:47:13 +02:00
parent 06078f987f
commit f1dd807f66
2 changed files with 5 additions and 4 deletions

View File

@ -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;