remove variable definitions #1158

edit
Hakim El Hattab 2015-03-25 14:51:54 +01:00
parent 2999b628cf
commit 70ab0ae80b
1 changed files with 2 additions and 5 deletions

View File

@ -2475,13 +2475,10 @@
format = config.slideNumber; format = config.slideNumber;
} }
var totalSlides = getTotalSlides();
var currentSlide = getSlidePastCount() + 1;
dom.slideNumber.innerHTML = format.replace( /h/g, indexh ) dom.slideNumber.innerHTML = format.replace( /h/g, indexh )
.replace( /v/g, indexv ) .replace( /v/g, indexv )
.replace( /c/g, currentSlide ) .replace( /c/g, getSlidePastCount() + 1 )
.replace( /t/g, totalSlides ); .replace( /t/g, getTotalSlides() );
} }
} }