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');