Skip to content

Commit 1a2cc41

Browse files
committed
Merge branch 'ACP2E-3154' of https://github.com/adobe-commerce-tier-4/magento2ce into TIer4-PR-07-22-2024
2 parents de0b2f9 + 0adaed2 commit 1a2cc41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/web/legacy-build.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/web/prototype/prototype.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ function $w(string) {
11281128
return string ? string.split(/\s+/) : [];
11291129
}
11301130

1131-
Array.from = $A;
1131+
Array.from = Array.from || $A;
11321132

11331133

11341134
(function () {
@@ -2205,7 +2205,7 @@ Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {
22052205

22062206
function remove(element) {
22072207
element = $(element);
2208-
element.parentNode.removeChild(element);
2208+
element.parentNode && element.parentNode.removeChild(element);
22092209
return element;
22102210
}
22112211

0 commit comments

Comments
 (0)