BigW Consortium Gitlab

Commit b1b32bfc by Phil Hughes

Fixed issue with `this` not being defined

parent a45071d0
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
} }
return this.options.query(this.input.val(), function(data) { return this.options.query(this.input.val(), function(data) {
return this.options.callback(data); return this.options.callback(data);
}); }.bind(this));
}, 250); }.bind(this), 250);
} else { } else {
return this.filter(this.input.val()); 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