Commit 09940cbb authored by Savas Vedova's avatar Savas Vedova

Merge branch 'jnnkl-eventlistener-release-edit' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!53852
parents 62fd4967 49e83caa
import ZenMode from '~/zen_mode'; import ZenMode from '~/zen_mode';
import initEditRelease from '~/releases/mount_edit'; import initEditRelease from '~/releases/mount_edit';
document.addEventListener('DOMContentLoaded', () => { new ZenMode(); // eslint-disable-line no-new
new ZenMode(); // eslint-disable-line no-new initEditRelease();
initEditRelease();
});
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