pull/4809/head
Conduitry 5 years ago
parent fff459aed5
commit babc0d5499

@ -99,7 +99,7 @@ export function set_attributes(node: Element & ElementCSSInlineStyle, attributes
} else if (key === 'style') { } else if (key === 'style') {
node.style.cssText = attributes[key]; node.style.cssText = attributes[key];
} else if (key === '__value') { } else if (key === '__value') {
(node as any).value = (node as any).__value = attributes[key]; (node as any).value = node[key] = attributes[key];
} else if (descriptors[key] && descriptors[key].set) { } else if (descriptors[key] && descriptors[key].set) {
node[key] = attributes[key]; node[key] = attributes[key];
} else { } else {

Loading…
Cancel
Save