From 0726cfd63f15720c8eab3cf2002e33a57f332eb9 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 15 Nov 2021 11:32:32 +0100 Subject: [PATCH] fix span selection --- demo.html | 10 +++++----- readme.md | 2 +- tags.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/demo.html b/demo.html index 4119327..b7e0a3c 100644 --- a/demo.html +++ b/demo.html @@ -19,7 +19,7 @@

Demo

- + @@ -43,7 +43,7 @@

Demo

- + @@ -79,7 +79,7 @@

Demo

- + diff --git a/tags.js b/tags.js index 370f6bb..3d9da12 100644 --- a/tags.js +++ b/tags.js @@ -462,7 +462,7 @@ class Tags { span.setAttribute(VALUE_ATTRIBUTE, value); if (this.allowClear) { - html = '' + html; + html = '' + html; } span.innerHTML = html;