Skip to content

Commit 2648368

Browse files
committed
input-num: one last data- reference
1 parent ca0d758 commit 2648368

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
@@ -247,7 +247,7 @@ static observedAttributes = [
247247
case CURRENCY:
248248
this.#locale.style = val ? "currency" : undefined;
249249
case NOTATION: // convert null to undefined
250-
this.#locale[name.split("-")[1]] = val ?? undefined;
250+
this.#locale[name] = val ?? undefined;
251251
break;
252252
default: // handled by BaseElement
253253
super.attributeChangedCallback(name, _, val);

0 commit comments

Comments
 (0)