BigW Consortium Gitlab

Commit 175052fa by Filipa Lacerda Committed by Robert Speicher

Merge branch 'projects-dropdown-perf' into 'master'

Fixed performance of projects dropdown Closes #41939 See merge request gitlab-org/gitlab-ce!16425
parent a718f3e7
......@@ -19,12 +19,9 @@ document.addEventListener('DOMContentLoaded', () => {
return;
}
$(navEl).on('show.bs.dropdown', (e) => {
const dropdownEl = $(e.currentTarget).find('.projects-dropdown-menu');
dropdownEl.one('transitionend', () => {
$(navEl).on('shown.bs.dropdown', () => {
eventHub.$emit('dropdownOpen');
});
});
// eslint-disable-next-line no-new
new Vue({
......
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