mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-25 17:42:46 +02:00
disqus hash links
This commit is contained in:
@@ -13,6 +13,13 @@ let loadDisqus = () => {
|
||||
globalThis.disqus_config = function () {
|
||||
this.page.url = "https://pomax.github.io/bezierinfo";
|
||||
this.page.identifier = "bezierinfo";
|
||||
this.callbacks.onReady = [
|
||||
function () {
|
||||
setTimeout(() => {
|
||||
document.dispatchEvent(new CustomEvent(`disqus:ready`));
|
||||
}, 200);
|
||||
},
|
||||
];
|
||||
};
|
||||
|
||||
const script = document.createElement("script");
|
||||
|
Reference in New Issue
Block a user