Skip to content

Commit

Permalink
Fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
phibr0 committed Mar 27, 2022
1 parent 10a294f commit 804b30b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-charts",
"name": "Obsidian Charts",
"version": "3.5.0",
"version": "3.5.1",
"minAppVersion": "0.12.7",
"description": "This Plugin lets you create Charts within Obsidian",
"author": "phibr0",
Expand Down
1 change: 0 additions & 1 deletion src/chartRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ class ChartRenderChild extends MarkdownRenderChild {
onunload() {
this.renderer.plugin.app.metadataCache.off("changed", this.changeHandler);
this.renderer.plugin.app.workspace.off('css-change', this.reload);
this.el.style.height = this.el.querySelector('canvas').clientHeight + 'px';
this.el.empty();
this.chart && this.chart.destroy();
this.chart = null;
Expand Down

0 comments on commit 804b30b

Please sign in to comment.