diff --git a/manifest.json b/manifest.json index 2b95fcd..ae37f2a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-admonition", "name": "Admonition", - "version": "6.2.0", + "version": "6.2.1", "minAppVersion": "0.11.0", "description": "Admonition block-styled content for Obsidian.md", "author": "Jeremy Valentine", diff --git a/package.json b/package.json index bf17cee..12535ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-admonition", - "version": "6.2.0", + "version": "6.2.1", "description": "Admonition block-styled content for Obsidian.md", "main": "main.js", "scripts": { diff --git a/src/main.ts b/src/main.ts index 039bbbc..b7cd691 100644 --- a/src/main.ts +++ b/src/main.ts @@ -801,6 +801,9 @@ title: const line = splitContent.find((l) => search.test(l)); input.dataset["line"] = `${splitContent.indexOf(line) + 1}`; + input.onclick = (evt) => { + evt.stopPropagation(); + }; } } diff --git a/versions.json b/versions.json index d810cfa..0425bd6 100644 --- a/versions.json +++ b/versions.json @@ -11,5 +11,5 @@ "4.3.1": "0.12.0", "4.4.2": "0.12.2", "5.0.3": "0.12.2", - "6.2.0": "0.12.4" + "6.2.1": "0.12.4" } \ No newline at end of file