Skip to content

Commit

Permalink
fixes #1372 - this.value was updated twice needlessly. It should on…
Browse files Browse the repository at this point in the history
…ly be updated within the `postProcessNewTagNode` method
  • Loading branch information
yairEO committed Aug 30, 2024
1 parent 6114e68 commit 7cce53d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tagify.js
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,6 @@ Tagify.prototype = {

setTimeout(()=> tagElm.classList.add(this.settings.classNames.tagNoAnimation), 300)

this.value.push(newTag.tagData)
this.update()

if( !createdFromDelimiters ) {
Expand Down

0 comments on commit 7cce53d

Please sign in to comment.