pull/6809/head
Yuichiro Yamashita 4 years ago
parent b703d7ea9d
commit f59000f440

@ -307,7 +307,6 @@ export function set_attributes(node: Element & ElementCSSInlineStyle, attributes
} else if (descriptors[key] && descriptors[key].set) { } else if (descriptors[key] && descriptors[key].set) {
if (node[key] !== attributes[key]) { if (node[key] !== attributes[key]) {
node[key] = attributes[key]; node[key] = attributes[key];
if (node[key] !== attributes[key]) attr(node, key, attributes[key]);
} }
} else { } else {
attr(node, key, attributes[key]); attr(node, key, attributes[key]);

Loading…
Cancel
Save