debian-mirror-gitlab/app/assets/javascripts/feature_highlight/feature_highlight_options.js
2018-03-17 18:26:18 +05:30

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