Skip to content

Commit

Permalink
BUGFIX: missing styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Jan 19, 2014
1 parent 84ff5b7 commit a7730f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/discourse/lib/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $.fn.autocomplete = function(options) {
if (!_.isArray(transformed)) { transformed = [transformed || item]; }

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');
if (prev.length === 0) {
me.parent().prepend(d);
Expand Down

0 comments on commit a7730f4

Please sign in to comment.