Skip to content
Snippets Groups Projects
Verified Commit fdf635c0 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett
Browse files

Change fix, instead of hacking in a filter clear every time, fix the root...

Change fix, instead of hacking in a filter clear every time, fix the root cause by only selecting elements for that dropdown instance
parent 8dc55ff3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -331,7 +331,7 @@ GitLabDropdown = (function() {
if (_this.dropdown.find('.dropdown-toggle-page').length) {
selector = ".dropdown-page-one " + selector;
}
return $(selector);
return $(selector, this.instance.dropdown);
};
})(this),
data: (function(_this) {
Loading
Loading
@@ -543,8 +543,6 @@ GitLabDropdown = (function() {
this.options.opened.call(this, e);
}
 
if (this.options.filterable) this.filter.filter();
return this.dropdown.trigger('shown.gl.dropdown');
};
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment