2fb167fa3b
From https://gitlab.com/gitlab-org/gitlab-ce/issues/36760 Was reverted in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14373
12 lines
307 B
JavaScript
12 lines
307 B
JavaScript
import { highlightFeatures } from './feature_highlight';
|
|
import bp from '../breakpoints';
|
|
|
|
export default function domContentLoaded() {
|
|
if (bp.getBreakpointSize() === 'lg') {
|
|
highlightFeatures();
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
document.addEventListener('DOMContentLoaded', domContentLoaded);
|