Skip to content

Commit 5562e32

Browse files
authored
Merge pull request #46 from magento-lynx/MC-42057
MC-42057: Fix jQuery.fn.resize()
2 parents f02071e + 1c71216 commit 5562e32

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)