diff --git a/awesomplete.js b/awesomplete.js index fe8e466c..0a56d8f8 100644 --- a/awesomplete.js +++ b/awesomplete.js @@ -103,7 +103,7 @@ var _ = function (input, o) { this.list = this.input.getAttribute("data-list") || o.list || []; } - _.all.push(this); + _.all.push(this.input.awesomplete = this); }; _.prototype = {