mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-11 19:24:07 +02:00
fix to comments
This commit is contained in:
10
components/sections/comments/handler.js
Normal file
10
components/sections/comments/handler.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
componentDidMount() {
|
||||
if (typeof document !== "undefined") {
|
||||
var script = document.createElement("script");
|
||||
script.src = "lib/site/disqus.js";
|
||||
script.async = true;
|
||||
document.head.appendChild(script);
|
||||
}
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user