sniperwolf / taggingJS

jQuery plugin to tagging like a charm!
http://sniperwolf.github.io/taggingJS/
MIT License
933 stars 151 forks source link

removing and then adding same tag didn't work #19

Closed loilo closed 10 years ago

loilo commented 10 years ago

removing tags only removed the related DOM element. now also iterates over the "tags" array and removes entry there since this array is used to detect duplicates. don't forget to change minified version. :)

sniperwolf commented 10 years ago

Hi @Loilo,

thank you for this pull request. I just release the v1.3.1, where I refactored a little bit the code and enhanced the plugin with methods, that help you to work with taggingJS using JavaScript directly. I think that now is more flexible and also extensible. This version also include something that is similar to your changes. Look at remove method in tagging.js.

loilo commented 10 years ago

Nice stuff. Thought about things like that today when I used the plugin. Great plans, I'm excited to see the outcomes. :)