voronianski / swipe-js-iso

Universal (a.k.a isomorphic) version of Swipe.js
https://www.npmjs.com/package/swipe-js-iso
MIT License
187 stars 57 forks source link

fix overrided 'options.continuous' when children change #5

Closed undefinedlee closed 8 years ago

undefinedlee commented 8 years ago

Retained the original 'options.continuous', to avoid children changes, 'options.continuous' is covered. For example, when the 'options.continuous' is initialized true, when the number of children from 1 to more than one,'options.continuous' is always false