gitlab-org--gitlab-foss/app/assets/javascripts/feature_highlight/feature_highlight_options.js

13 lines
307 B
JavaScript
Raw Normal View History

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);