aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-01-05 09:51:36 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-01-05 09:51:36 +0100
commit0e0a4ec6e6e5996c6619ec6ff5452c3017e1ca27 (patch)
treebf9ca45e587a2be526e510d655e64b9e505d413d /js
parent9c3a7b49d0c9f39d6f65b9af4a90a5c3ff782343 (diff)
downloadfosdem-2018-presentation-0e0a4ec6e6e5996c6619ec6ff5452c3017e1ca27.tar
fosdem-2018-presentation-0e0a4ec6e6e5996c6619ec6ff5452c3017e1ca27.tar.gz
avoid repetition
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 4f44c5f..46b92b5 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2793,7 +2793,7 @@
var horizontalSlides = toArray( dom.wrapper.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) );
// The number of past and total slides
- var totalCount = dom.wrapper.querySelectorAll( SLIDES_SELECTOR + ':not(.stack)' ).length;
+ var totalCount = getTotalSlides();
var pastCount = 0;
// Step through all slides and count the past ones