From b926d86568a5d376b48d5836e42637ced2517058 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 15 Nov 2022 23:56:50 +0100 Subject: [PATCH] Resolve #678 --- dev/Common/Html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 2ffa1edf4..66a7f647a 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -234,7 +234,7 @@ export const if (!value) { value = getAttribute('width'); if (1 < pInt(value)) { - oStyle.width = value.includes('%') ? value : value + 'px'; + value = oStyle.width = value.includes('%') ? value : value + 'px'; } } delAttribute('width');