Commit a1614594 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'jnnkl-eventlistener-serverless' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!53972
parents 9c44c30f c10c7b6c
import ServerlessBundle from '~/serverless/serverless_bundle'; import ServerlessBundle from '~/serverless/serverless_bundle';
import initServerlessSurveyBanner from '~/serverless/survey_banner'; import initServerlessSurveyBanner from '~/serverless/survey_banner';
document.addEventListener('DOMContentLoaded', () => { initServerlessSurveyBanner();
initServerlessSurveyBanner(); new ServerlessBundle(); // eslint-disable-line no-new
new ServerlessBundle(); // eslint-disable-line no-new
});
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