Skip to content

Commit 30f4117

Browse files
committed
MC-42057: Fix jQuery.fn.resize()
1 parent 544bbaa commit 30f4117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/magnifier/magnifier.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@
599599
}
600600

601601
$(window).on('scroll', onScroll);
602-
$(window).resize(function () {
602+
$(window).on('resize', function () {
603603
_init($box, customUserOptions);
604604
});
605605

0 commit comments

Comments
 (0)