Skip to content

Commit

Permalink
Merge pull request #46 from magento-lynx/MC-42057
Browse files Browse the repository at this point in the history
MC-42057: Fix jQuery.fn.resize()
  • Loading branch information
sivaschenko authored May 29, 2021
2 parents f02071e + 1c71216 commit 5562e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/magnifier/magnifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@
}

$(window).on('scroll', onScroll);
$(window).resize(function () {
$(window).on('resize', function () {
_init($box, customUserOptions);
});

Expand Down

0 comments on commit 5562e32

Please sign in to comment.