13 lines
353 B
JavaScript
13 lines
353 B
JavaScript
import { highlightFeatures } from './feature_highlight';
|
|
import bp from '../breakpoints';
|
|
|
|
const highlightOrder = ['issue-boards'];
|
|
|
|
export default function domContentLoaded(order) {
|
|
if (bp.getBreakpointSize() === 'lg') {
|
|
highlightFeatures(order);
|
|
}
|
|
}
|
|
|
|
document.addEventListener('DOMContentLoaded', domContentLoaded.bind(this, highlightOrder));
|