hailwood / jQuery-Tagit

The Jquery Tagit Plugin transforms an html unordered list into a unique tagging plugin.
264 stars 109 forks source link

initialTags not working when using options #80

Open viniciuspinto opened 11 years ago

viniciuspinto commented 11 years ago

Hello,

I just started using this plugin and noticed that if I pass the initialTags as an option, instead of using an HTML list, they do not show up.

Looking at the code, it looks like the _create() method on tagit.js is discarding the option with self.options.initialTags=[];

I tested it without that line and it worked fine, can someone who knows the code check it? Thanks.