Skip to content

Commit 406039c

Browse files
committed
Revert bridgeTurboAndAlpine to master
1 parent cd02cf3 commit 406039c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

assets/js/helpers/bridgeTurboAndAlpine.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ export function bridgeTurboAndAlpine(Alpine) {
2222
if (el.hasAttribute('data-turbo-permanent')) {
2323
return;
2424
}
25-
// Skip elements with empty x-data (no component definition)
26-
if (!el.getAttribute('x-data') || el.getAttribute('x-data').trim() === '') {
27-
return;
28-
}
2925
Alpine.initTree(el);
3026
});
3127

0 commit comments

Comments
 (0)