aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authoruriel <aa@bb.cc>2013-10-31 19:47:13 +0200
committeruriel <aa@bb.cc>2013-10-31 19:47:13 +0200
commitf1dd807f662da68ef240f0746794077072d49036 (patch)
treea6371e0f058381df06222c22a11fb4eab81cdb48 /js
parent06078f987fc10192d72d255af73b74182b424997 (diff)
downloadfosdem-2018-presentation-f1dd807f662da68ef240f0746794077072d49036.tar
fosdem-2018-presentation-f1dd807f662da68ef240f0746794077072d49036.tar.gz
change SlidesNumber position and start page counter at 0 instead 1
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js4
1 files changed, 2 insertions, 2 deletions
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;