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();
}
}
);
|