prevent additional inaccurate showSlide calls

This commit is contained in:
Hakim El Hattab 2014-06-25 11:50:31 +02:00
parent 8cb8229aac
commit ef333300a2
1 changed files with 1 additions and 1 deletions

View File

@ -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