diff --git a/web/cm_plugins/iframe_widget.ts b/web/cm_plugins/iframe_widget.ts index 8d9422d9..0c6f5c64 100644 --- a/web/cm_plugins/iframe_widget.ts +++ b/web/cm_plugins/iframe_widget.ts @@ -58,7 +58,7 @@ export class IFrameWidget extends WidgetType { get estimatedHeight(): number { const cachedHeight = this.client.getCachedWidgetHeight(this.bodyText); - console.log("Calling estimated height", this.bodyText, cachedHeight); + // console.log("Calling estimated height", this.bodyText, cachedHeight); return cachedHeight > 0 ? cachedHeight : 150; } diff --git a/web/cm_plugins/markdown_widget.ts b/web/cm_plugins/markdown_widget.ts index c29e4bf4..aa754f1e 100644 --- a/web/cm_plugins/markdown_widget.ts +++ b/web/cm_plugins/markdown_widget.ts @@ -185,7 +185,7 @@ export class MarkdownWidget extends WidgetType { get estimatedHeight(): number { const cacheItem = this.client.getWidgetCache(this.bodyText); - console.log("Calling estimated height", this.bodyText, cacheItem); + // console.log("Calling estimated height", this.bodyText, cacheItem); return cacheItem ? cacheItem.height : -1; }