diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-06-25 11:50:31 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-06-25 11:50:45 +0200 |
commit | ef333300a20b7412176525e542b5fd61ef776e94 (patch) | |
tree | 0326f2e4c438a33d6ef78432e189323683453b3c /js | |
parent | 8cb8229aac9ee81e06c8ee52d7ffa291e61795c4 (diff) | |
download | fosdem-2018-presentation-ef333300a20b7412176525e542b5fd61ef776e94.tar fosdem-2018-presentation-ef333300a20b7412176525e542b5fd61ef776e94.tar.gz |
prevent additional inaccurate showSlide calls
Diffstat (limited to 'js')
-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 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 |