diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-01-05 09:51:36 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-01-05 09:51:36 +0100 |
commit | 0e0a4ec6e6e5996c6619ec6ff5452c3017e1ca27 (patch) | |
tree | bf9ca45e587a2be526e510d655e64b9e505d413d | |
parent | 9c3a7b49d0c9f39d6f65b9af4a90a5c3ff782343 (diff) | |
download | fosdem-2018-presentation-0e0a4ec6e6e5996c6619ec6ff5452c3017e1ca27.tar fosdem-2018-presentation-0e0a4ec6e6e5996c6619ec6ff5452c3017e1ca27.tar.gz |
avoid repetition
-rw-r--r-- | js/reveal.js | 2 |
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 |