From 045dc44e389a0658f9688ad984ee0bbbd09c41ea Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Wed, 3 Jan 2024 23:52:25 +0100 Subject: [PATCH] Remove old invalid link --- README.adoc | 2 -- src/template/browser/childNodes.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 33b7efe..1c76dcb 100644 --- a/README.adoc +++ b/README.adoc @@ -6,8 +6,6 @@ image:https://github.com/hgiesel/closet/workflows/Deploy%20to%20GitHub%20Pages/b Closet is a powerful templating engine for use in flashcards, especially link:https://apps.ankiweb.net/[Anki] flashcards. -For more info on Closet, see its link:https://closetengine.com[website]. - image::https://github.com/hgiesel/closet/blob/master/images/textlogo.png[ClosetLogo,width=100%,align="center",link="https://closetengine.com"] == How to Build for Anki diff --git a/src/template/browser/childNodes.ts b/src/template/browser/childNodes.ts index db4b54b..e42ec11 100644 --- a/src/template/browser/childNodes.ts +++ b/src/template/browser/childNodes.ts @@ -265,7 +265,7 @@ export class ChildNodeSpan { this.parentElement.childNodes[this._fromIndex], ); for (const node of this.span()) { - if(node.parentElement === this.parentElement) { + if (node.parentElement === this.parentElement) { this.parentElement.removeChild(node); } }