Skip to content

Commit

Permalink
disabled null fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sidewayss committed Dec 1, 2024
1 parent 52f3105 commit 55f8f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input-num.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static observedAttributes = [
break;
case DISABLED: // falls through
for (const elm of this.#btns)
elm.style.pointerEvents = val ? "none" : "";
elm.style.pointerEvents = (val === null) ? "" : "none";
default: // handled by BaseElement
super.attributeChangedCallback(name, _, val);
return;
Expand Down

0 comments on commit 55f8f00

Please sign in to comment.