There was an error while loading. Please reload this page.
1 parent e1bf7bc commit 458686cCopy full SHA for 458686c
django_unicorn/static/unicorn/js/morphers/alpine.js
@@ -11,7 +11,9 @@ See https://www.django-unicorn.com/docs/custom-morphers/#alpine for more informa
11
}
12
13
morph(dom, htmlElement) {
14
- return window.Alpine.morph(dom, htmlElement, this.getOptions());
+ if (htmlElement) {
15
+ return window.Alpine.morph(dom, htmlElement, this.getOptions());
16
+ }
17
18
19
getOptions() {
0 commit comments