Milde optimizations
This commit is contained in:
@@ -55,7 +55,8 @@ class IFrameWidget extends WidgetType {
|
||||
},
|
||||
);
|
||||
|
||||
iframe.style.height = `${this.estimatedHeight}px`;
|
||||
const estimatedHeight = this.estimatedHeight;
|
||||
iframe.height = `${estimatedHeight}px`;
|
||||
|
||||
return iframe;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user