···5353 this.#morphNode(pair);
5454 }
5555 morphInner(pair) {
5656- this.#buildMaps(pair);
5756 if (isMatchingElementPair(pair)) {
5757+ this.#buildMaps(pair);
5858 this.#morphMatchingElementContent(pair);
5959 } else {
6060 throw new Error("You can only do an inner morph with matching elements.");
+1-2
src/morphlex.ts
···112112 }
113113114114 morphInner(pair: NodeReferencePair<Element>): void {
115115- this.#buildMaps(pair);
116116-117115 if (isMatchingElementPair(pair)) {
116116+ this.#buildMaps(pair);
118117 this.#morphMatchingElementContent(pair);
119118 } else {
120119 throw new Error("You can only do an inner morph with matching elements.");