prevent additional inaccurate showSlide calls
This commit is contained in:
parent
8cb8229aac
commit
ef333300a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user