Few more tweaks
This commit is contained in:
parent
f66b365f35
commit
844c37fda9
5 changed files with 12 additions and 45 deletions
|
|
@ -9,9 +9,9 @@ function setupDisqus(href) {
|
|||
|
||||
(function() {
|
||||
if (document.getElementById("disqusScript") === null) {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
}
|
||||
})();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue