From 7cce53df5221a237cdfbead50b406b7dfd2186ac Mon Sep 17 00:00:00 2001 From: Yair Even Or Date: Fri, 30 Aug 2024 10:17:00 +0200 Subject: [PATCH] fixes #1372 - `this.value` was updated twice needlessly. It should only be updated within the `postProcessNewTagNode` method --- src/tagify.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tagify.js b/src/tagify.js index dcdc766a..c2c725a3 100644 --- a/src/tagify.js +++ b/src/tagify.js @@ -1501,7 +1501,6 @@ Tagify.prototype = { setTimeout(()=> tagElm.classList.add(this.settings.classNames.tagNoAnimation), 300) - this.value.push(newTag.tagData) this.update() if( !createdFromDelimiters ) {