Remove obsolete disqus javascript file
This commit is contained in:
parent
46034cbeb1
commit
4bda5105c2
|
@ -1,11 +0,0 @@
|
||||||
var disqus_shortname;
|
|
||||||
var disqus_identifier;
|
|
||||||
|
|
||||||
$(function() {
|
|
||||||
var disqus_thread = $("#disqus_thread");
|
|
||||||
disqus_shortname = disqus_thread.data('disqus-shortname');
|
|
||||||
disqus_identifier = disqus_thread.data('disqus-identifier');
|
|
||||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
||||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
|
||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
||||||
});
|
|
Loading…
Reference in New Issue