Skip to content

Commit 87ec905

Browse files
committed
Remove creating $target
1 parent f2f92e6 commit 87ec905

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/web/fotorama/fotorama.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,8 +1443,7 @@ fotoramaVersion = '4.6.4';
14431443
return;
14441444
}
14451445

1446-
$target = $(e.target);
1447-
isDisabledSwipe = $target.hasClass('disableSwipe');
1446+
isDisabledSwipe = $(e.target).hasClass('disableSwipe');
14481447

14491448
if (isDisabledSwipe) {
14501449
return;

0 commit comments

Comments
 (0)