Skip to content

Commit ee71504

Browse files
committed
AC-2076: Next Arrow button in thumb slider corrected
1 parent 302f6c5 commit ee71504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/fotorama/fotorama.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2660,7 +2660,7 @@ fotoramaVersion = '4.6.4';
26602660
if (opts.navtype === 'slides') {
26612661
var pos = readPosition($navShaft, opts.navdir);
26622662
pos >= navShaftTouchTail.max ? isLeftDisable = true : isLeftDisable = false;
2663-
pos <= navShaftTouchTail.min ? isRightDisable = true : isRightDisable = false;
2663+
(pos <= Math.round(navShaftTouchTail.min)) ? isRightDisable = true : isRightDisable = false;
26642664
}
26652665
$thumbArrLeft
26662666
.toggleClass(arrDisabledClass, isLeftDisable)

0 commit comments

Comments
 (0)