Skip to content

Commit 2d41195

Browse files
committed
fix: rebuild live_controller.js
1 parent ffa391b commit 2d41195

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/LiveComponent/assets/dist/live_controller.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,6 @@ function executeMorphdom(rootFromElement, rootToElement, modifiedFieldElements,
13571357
Idiomorph.morph(rootFromElement, rootToElement, {
13581358
callbacks: {
13591359
beforeNodeMorphed: (fromEl, toEl) => {
1360-
var _a;
13611360
if (!(fromEl instanceof Element) || !(toEl instanceof Element)) {
13621361
return true;
13631362
}
@@ -1415,7 +1414,7 @@ function executeMorphdom(rootFromElement, rootToElement, modifiedFieldElements,
14151414
fromEl.innerHTML = toEl.innerHTML;
14161415
return true;
14171416
}
1418-
if ((_a = fromEl.parentElement) === null || _a === void 0 ? void 0 : _a.hasAttribute('data-skip-morph')) {
1417+
if (fromEl.parentElement?.hasAttribute('data-skip-morph')) {
14191418
return false;
14201419
}
14211420
return !fromEl.hasAttribute('data-live-ignore');

0 commit comments

Comments
 (0)