Skip to content

Commit

Permalink
fixes #982 - "strim" setting has no affect on "loadOriginalValues" wh…
Browse files Browse the repository at this point in the history
…en in mix-mode
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Feb 13, 2022
1 parent 80d623f commit 95aab51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tagify.js
Expand Up @@ -299,7 +299,7 @@ Tagify.prototype = {
},

/**
* if the original input had any values, add them as tags
* if the original input has any values, add them as tags
*/
loadOriginalValues( value ){
var lastChild,
Expand All @@ -324,7 +324,7 @@ Tagify.prototype = {

if( value ){
if( _s.mode == 'mix' ){
this.parseMixTags(value.trim())
this.parseMixTags(this.trim(value))

lastChild = this.DOM.input.lastChild;

Expand Down

0 comments on commit 95aab51

Please sign in to comment.