Skip to content

Commit

Permalink
fix custom elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed May 21, 2023
1 parent 7fc9242 commit 679bf6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dom-expressions/src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export function template(html, isCE, isSVG) {
};
// backwards compatible with older builds
const fn = isCE
? () => (node || (node = create())).cloneNode(true)
: () => untrack(() => document.importNode(node || (node = create()), true));
? () => untrack(() => document.importNode(node || (node = create()), true))
: () => (node || (node = create())).cloneNode(true);
fn.cloneNode = fn;
return fn;
}
Expand Down

0 comments on commit 679bf6d

Please sign in to comment.