remove variable definitions #1158

This commit is contained in:
Hakim El Hattab 2015-03-25 14:51:54 +01:00
parent 2999b628cf
commit 70ab0ae80b

View File

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