We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43cdf93 commit 05214c7Copy full SHA for 05214c7
src/js/jquery.swipebox.js
@@ -389,7 +389,7 @@
389
390
391
if ( vSwipe ) {
392
- if ( slider.css( 'opacity' ) <= 0.5 && Math.abs(vDistance) > Math.abs(vDistanceLast)) {
+ if ( Math.abs( vDistance ) >= 2*vSwipMinDistance && Math.abs(vDistance) > Math.abs(vDistanceLast)) {
393
var vOffset = vDistance > 0 ? slider.height() : - slider.height();
394
slider.animate( { top: vOffset + 'px', 'opacity': 0 },
395
300,
0 commit comments