Commit b1b32bfc authored by Phil Hughes's avatar Phil Hughes

Fixed issue with `this` not being defined

parent a45071d0
......@@ -60,8 +60,8 @@
}
return this.options.query(this.input.val(), function(data) {
return this.options.callback(data);
});
}, 250);
}.bind(this));
}.bind(this), 250);
} else {
return this.filter(this.input.val());
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment