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

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