aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-10-29 14:29:51 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-10-29 14:29:51 +0100
commit9b5e16055a916bfc4165b5808faeea4e30ddccab (patch)
treecaa9e1dc85e96812c58c80186461c7a9b499bbcb /js/reveal.js
parentd66cba6efac72b4fade04cd78c17e405ad614c2d (diff)
downloadfosdem-2018-presentation-9b5e16055a916bfc4165b5808faeea4e30ddccab.tar
fosdem-2018-presentation-9b5e16055a916bfc4165b5808faeea4e30ddccab.tar.gz
hide slide number element when disabled
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index e4b380c..2d49d2e 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -881,6 +881,7 @@
dom.controls.style.display = config.controls ? 'block' : 'none';
dom.progress.style.display = config.progress ? 'block' : 'none';
+ dom.slideNumber.style.display = config.slideNumber ? 'block' : 'none';
if( config.rtl ) {
dom.wrapper.classList.add( 'rtl' );
@@ -2546,7 +2547,7 @@
function updateSlideNumber() {
// Update slide number if enabled
- if( config.slideNumber && dom.slideNumber) {
+ if( config.slideNumber && dom.slideNumber ) {
var value = [];
var format = 'h.v';