Welcome to mirror list, hosted at ThFree Co, Russian Federation.

feature_highlight_options.js « feature_highlight « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 212643b1e04990728a8b696b20dc5b9e99087689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);