Skip to content

Commit

Permalink
Merge pull request charlieridley#6 from gevious/patch-1
Browse files Browse the repository at this point in the history
Update main.js
  • Loading branch information
charlieridley committed Jan 2, 2014
2 parents 82afb23 + 42acdcc commit 2497e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
initializeTypeahead: function(data){
var _this = this;
this.typeahead = this.$().typeahead({
name: "typeahead",
name: _this.$().attr('id') || "typeahead",
limit: this.get("limit") || 5,
local: data.map(function(item) {
return {
Expand Down

0 comments on commit 2497e9b

Please sign in to comment.