summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/gl_dropdown.js
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-01-13 11:12:44 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-01-16 12:18:59 -0500
commitf0ed80a234c75585685625c7c125cdd0fb832978 (patch)
tree4a64563f2ec77e10bbe74c8a5e426c99f5de988e /app/assets/javascripts/gl_dropdown.js
parent6c1190623fb4d69786efb955b3af0b9241974776 (diff)
downloadgitlab-ce-f0ed80a234c75585685625c7c125cdd0fb832978.tar.gz
Fix dropdown filter input value after blur26616-fix-search-group-project-filters
Diffstat (limited to 'app/assets/javascripts/gl_dropdown.js')
-rw-r--r--app/assets/javascripts/gl_dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js b/app/assets/javascripts/gl_dropdown.js
index bb516b3d2df..00859728c30 100644
--- a/app/assets/javascripts/gl_dropdown.js
+++ b/app/assets/javascripts/gl_dropdown.js
@@ -476,7 +476,7 @@
this.removeArrayKeyEvent();
$input = this.dropdown.find(".dropdown-input-field");
if (this.options.filterable) {
- $input.blur().val("");
+ $input.blur();
}
if (this.dropdown.find(".dropdown-toggle-page").length) {
$('.dropdown-menu', this.dropdown).removeClass(PAGE_TWO_CLASS);