Skip to content

Commit

Permalink
use selector '.lifo-typeahead-item' instead of 'a' to add text to lis…
Browse files Browse the repository at this point in the history
…t items to allow for more flexible customizations.
  • Loading branch information
lifo101 committed Mar 18, 2013
1 parent 820f326 commit 41353c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/public/js/typeaheadbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
li = $( this.$id.data('prototype') );
li.data('value', data.id)
.find('input:hidden').val(data.id).attr('id', _id + '_' + data.id).attr('name', name).end()
.find('a').text(text).end()
.find('.lifo-typeahead-item').text(text).end()
.appendTo(list)
;
}
Expand Down

0 comments on commit 41353c9

Please sign in to comment.