remove variable definitions #1158
This commit is contained in:
parent
2999b628cf
commit
70ab0ae80b
|
@ -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() );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue