Commit 171f77b6 authored by Jannik Lehmann's avatar Jannik Lehmann

Remove obsolete DOMContentLoadedEventListener

parent fe77fc98
import { initRemoveTag } from '../remove_tag';
document.addEventListener('DOMContentLoaded', () => {
initRemoveTag({
initRemoveTag({
onDelete: (path) => {
document.querySelector(`[data-path="${path}"]`).closest('.js-tag-list').remove();
},
});
});
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