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 742ede4
Show file tree
Hide file tree
Showing 3 changed files with 29 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.

27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"author": {
"name": "Alex Ehlke"
},
"bundleDependencies": false,
"deprecated": false,
"description": "A jQuery UI plugin to handle multi-tag fields as well as tag suggestions/autocomplete.",
"homepage": "https://github.com/aehlke/tag-it#readme",
"keywords": [
"jquery",
"tags",
"tag",
"tagit",
"input",
"select",
"suggest"
],
"license": "MIT",
"main": "js/tag-it.min.js",
"private":true,
"name": "tag-it",
"repository": {
"type": "git",
"url": "git+https://github.com/HirokiDaido/tag-it.git"
},
"version": "2.0.0"
}

0 comments on commit 742ede4

Please sign in to comment.