blob: c5553f0243f849fe9af8399553af4b787c9ba4ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { GlBreakpointInstance as bp } from '@gitlab/ui/dist/utils';
import { highlightFeatures } from './feature_highlight';
export default function domContentLoaded() {
if (bp.getBreakpointSize() === 'xl') {
highlightFeatures();
return true;
}
return false;
}
document.addEventListener('DOMContentLoaded', domContentLoaded);
|