Commit bb2095ab authored by Phil Hughes's avatar Phil Hughes

Fixed performance of projects dropdown

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