Skip to content

Commit 55f8f00

Browse files
committed
disabled null fix
1 parent 52f3105 commit 55f8f00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

input-num.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ static observedAttributes = [
258258
break;
259259
case DISABLED: // falls through
260260
for (const elm of this.#btns)
261-
elm.style.pointerEvents = val ? "none" : "";
261+
elm.style.pointerEvents = (val === null) ? "" : "none";
262262
default: // handled by BaseElement
263263
super.attributeChangedCallback(name, _, val);
264264
return;

0 commit comments

Comments
 (0)