Skip to content

Commit

Permalink
replaced addSelf() with addBack() to support jQuery 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Anjaneyulu Paramalla authored and Anjaneyulu Paramalla committed Jan 3, 2020
1 parent 6ccd2de commit a9ca6a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/tag-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
this.options.singleFieldNode = this.element;
this.element.addClass('tagit-hidden-field');
} else {
this.tagList = this.element.find('ul, ol').andSelf().last();
this.tagList = this.element.find('ul, ol').addBack().last();
}

this.tagInput = $('<input type="text" />').addClass('ui-widget-content');
Expand Down
2 changes: 1 addition & 1 deletion js/tag-it.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a9ca6a3

Please sign in to comment.