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

feedback.js « bundles « frontend « content - gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7245b90ed0da78ff1501f59d229e5035fcdc53e3 (plain)
1
2
3
4
5
6
7
8
9
10
document.addEventListener(
  'DOMContentLoaded',
  () => {
    const hasCommentAnchor = window.location.hash.includes('#comment-');

    if(hasCommentAnchor) {
      window.loadDisqus();
    }
  }
);