Milde optimizations

This commit is contained in:
Zef Hemel
2023-11-16 09:59:37 +01:00
parent 5b81185afa
commit 1af5e022a0
8 changed files with 18 additions and 13 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ class IFrameWidget extends WidgetType {
},
);
iframe.style.height = `${this.estimatedHeight}px`;
const estimatedHeight = this.estimatedHeight;
iframe.height = `${estimatedHeight}px`;
return iframe;
}