Skip to content

Commit

Permalink
change andSelf to addBack
Browse files Browse the repository at this point in the history
  • Loading branch information
h_daido committed Jul 16, 2018
1 parent 6ccd2de commit 81260d8
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 81260d8

Please sign in to comment.