Skip to content

Commit

Permalink
fix special casing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Jan 9, 2024
1 parent cb96145 commit e35e15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dom-expressions/src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function assignProp(node, prop, value, prev, isSVG, skipRef) {
let isCE, isProp, isChildProp, propAlias, forceProp;
if (prop === "style") return style(node, value, prev);
if (prop === "classList") return classList(node, value, prev);
if (value === prev && (prop !== "value" || prop !== "checked")) return prev;
if (value === prev && prop !== "value" && prop !== "checked") return prev;
if (prop === "ref") {
if (!skipRef) value(node);
} else if (prop.slice(0, 3) === "on:") {
Expand Down

0 comments on commit e35e15d

Please sign in to comment.