tangled
alpha
login
or
join now
yippee.fun
/
morphlex
0
fork
atom
Precise DOM morphing
morphing
typescript
dom
0
fork
atom
overview
issues
pulls
pipelines
Update morphlex.ts
joel.drapper.me
2 years ago
1686eea4
71e8b3bb
+5
-3
1 changed file
expand all
collapse all
unified
split
src
morphlex.ts
+5
-3
src/morphlex.ts
···
210
210
element.type !== "file" &&
211
211
!(this.#options.ignoreActiveValue && document.activeElement === element) &&
212
212
!(this.#options.preserveModifiedValues && element.name === ref.name && element.value !== element.defaultValue)
213
213
-
)
213
213
+
) {
214
214
this.#updateProperty(element, "value", ref.value);
215
215
-
} else if (isOption(element) && isOption(ref)) this.#updateProperty(element, "selected", ref.selected);
216
216
-
else if (
215
215
+
}
216
216
+
} else if (isOption(element) && isOption(ref)) {
217
217
+
this.#updateProperty(element, "selected", ref.selected);
218
218
+
} else if (
217
219
isTextArea(element) &&
218
220
isTextArea(ref) &&
219
221
!(this.#options.ignoreActiveValue && document.activeElement === element) &&