debian-mirror-gitlab/app/assets/javascripts/feature_highlight/feature_highlight_options.js

13 lines
307 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
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);