From b20c1bed5a72081fa97f84e5dbe2de756de4ecc9 Mon Sep 17 00:00:00 2001 From: Zsolt Viczian Date: Tue, 2 Nov 2021 21:51:04 +0100 Subject: [PATCH] 1.4.6 --- manifest.json | 2 +- src/main.ts | 2 +- versions.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 8bd513c..0c72845 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-excalidraw-plugin", "name": "Excalidraw", - "version": "1.4.5", + "version": "1.4.6", "minAppVersion": "0.12.16", "description": "An Obsidian plugin to edit and view Excalidraw drawings", "author": "Zsolt Viczian", diff --git a/src/main.ts b/src/main.ts index d12f9c3..aec916b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1044,7 +1044,7 @@ export default class ExcalidrawPlugin extends Plugin { excalidrawLeaves.forEach((leaf) => { this.setMarkdownView(leaf); }); - if(this.mathjaxDiv) document.removeChild(this.mathjaxDiv); + if(this.mathjaxDiv) document.body.removeChild(this.mathjaxDiv); //this.settings.drawingOpenCount += this.opencount; //this.settings.loadCount++; //this.saveSettings(); diff --git a/versions.json b/versions.json index 8a426f1..aa3dca3 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,4 @@ { - "1.4.5": "0.12.16", + "1.4.6": "0.12.16", "1.4.2": "0.11.13" }