aehlke / tag-it

A jQuery UI plugin to handle multi-tag fields as well as tag suggestions/autocomplete.
http://aehlke.github.com/tag-it/
MIT License
2.48k stars 825 forks source link

Replaced .andSelf with .andBack #412

Open sukeerthiadiga opened 6 years ago

sukeerthiadiga commented 6 years ago

The .andSelf() method was deprecated in jQuery 1.8 and now removed in 3.0 in favor of the .addBack() method, which does a better job of explaining what it does and also accepts an optional selector to filter what is added back.

etheriau commented 5 years ago

I just encountered this same issue -- this patch works for me.