Commit 75a041b5 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'jnnkl-remove-eventlistener-dashboard-issues-index' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!55629
parents f8cc7849 ee96b30e
...@@ -4,13 +4,11 @@ import { FILTERED_SEARCH } from '~/pages/constants'; ...@@ -4,13 +4,11 @@ import { FILTERED_SEARCH } from '~/pages/constants';
import initFilteredSearch from '~/pages/search/init_filtered_search'; import initFilteredSearch from '~/pages/search/init_filtered_search';
import projectSelect from '~/project_select'; import projectSelect from '~/project_select';
document.addEventListener('DOMContentLoaded', () => { initFilteredSearch({
initFilteredSearch({ page: FILTERED_SEARCH.ISSUES,
page: FILTERED_SEARCH.ISSUES, filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys, useDefaultState: true,
useDefaultState: true,
});
projectSelect();
initManualOrdering();
}); });
projectSelect();
initManualOrdering();
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