2020-03-09 13:42:32 +05:30
|
|
|
import { GlBreakpointInstance as bp } from '@gitlab/ui/dist/utils';
|
2018-03-17 18:26:18 +05:30
|
|
|
import { highlightFeatures } from './feature_highlight';
|
|
|
|
|
|
|
|
export default function domContentLoaded() {
|
2020-03-09 13:42:32 +05:30
|
|
|
if (bp.getBreakpointSize() === 'xl') {
|
2018-03-17 18:26:18 +05:30
|
|
|
highlightFeatures();
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', domContentLoaded);
|