aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-06-25 11:50:31 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-06-25 11:50:45 +0200
commitef333300a20b7412176525e542b5fd61ef776e94 (patch)
tree0326f2e4c438a33d6ef78432e189323683453b3c /js
parent8cb8229aac9ee81e06c8ee52d7ffa291e61795c4 (diff)
downloadfosdem-2018-presentation-ef333300a20b7412176525e542b5fd61ef776e94.tar
fosdem-2018-presentation-ef333300a20b7412176525e542b5fd61ef776e94.tar.gz
prevent additional inaccurate showSlide calls
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 ae35bf0..2355098 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2146,7 +2146,7 @@
distanceX,
distanceY;
- if( horizontalSlidesLength ) {
+ if( horizontalSlidesLength && typeof indexh !== 'undefined' ) {
// The number of steps away from the present slide that will
// be visible