diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-03 09:31:36 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-03 09:32:30 +0100 |
commit | b1b32bfcf8c28e038a7450238a4109288e1146ed (patch) | |
tree | c763aefa2d93a88d420f1da83d6176e03abc1c0c /app/assets | |
parent | a45071d0ea18d9bb8a5209ef97e4858dda08cd33 (diff) | |
download | gitlab-ce-b1b32bfcf8c28e038a7450238a4109288e1146ed.tar.gz |
Fixed issue with `this` not being defined
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/gl_dropdown.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js b/app/assets/javascripts/gl_dropdown.js index a9a7c802f87..356810c85cc 100644 --- a/app/assets/javascripts/gl_dropdown.js +++ b/app/assets/javascripts/gl_dropdown.js @@ -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()); } |