From a726adc313f4ec9e18502709a3e0dbb1c8de8b4b Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Wed, 29 Mar 2023 10:44:32 +0200 Subject: [PATCH] Update src/runtime/internal/dom.ts Co-authored-by: Tan Li Hau --- src/runtime/internal/dom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/internal/dom.ts b/src/runtime/internal/dom.ts index 767bcbda2f..4e19399eb2 100644 --- a/src/runtime/internal/dom.ts +++ b/src/runtime/internal/dom.ts @@ -309,7 +309,7 @@ export function attr(node: Element, attribute: string, value?: string) { * accepts numeric values, but the attribute can also be set to a string like `50%`. * If this list becomes too big, rethink this approach. */ -const always_set_through_attr = ['width', 'height']; +const always_set_through_set_attribute = ['width', 'height']; export function set_attributes(node: Element & ElementCSSInlineStyle, attributes: { [x: string]: string }) { // @ts-ignore