Skip to content

Commit 96c81c4

Browse files
committed
Merge branch 'patch-2' of github.com:sheepfy/magento2 into 2.4-develop-prs
2 parents a52b207 + 076e7f2 commit 96c81c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Email/view/adminhtml/templates/preview/iframeswitcher.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ require([
3434
$('#preview_form').trigger('submit');
3535
});
3636
37-
$('#preview_iframe').load(function() {
37+
$('#preview_iframe').on('load', function() {
3838
$(this).height($(this).contents().height());
3939
});
4040
});

0 commit comments

Comments
 (0)