BUGFIX: missing styling

This commit is contained in:
Sam 2014-01-20 10:44:13 +11:00
parent 84ff5b7a81
commit a7730f4b52
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ $.fn.autocomplete = function(options) {
if (!_.isArray(transformed)) { transformed = [transformed || item]; } if (!_.isArray(transformed)) { transformed = [transformed || item]; }
var divs = transformed.map(function(itm) { var divs = transformed.map(function(itm) {
var d = $("<div class='item'><span>" + itm + "<a href='#'><i class='fa fa-times'></i></a></span></div>"); var d = $("<div class='item'><span>" + itm + "<a class='remove' href='#'><i class='fa fa-times'></i></a></span></div>");
var prev = me.parent().find('.item:last'); var prev = me.parent().find('.item:last');
if (prev.length === 0) { if (prev.length === 0) {
me.parent().prepend(d); me.parent().prepend(d);