mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 17:47:02 +03:00
Update disqus.js
This commit is contained in:
parent
d90a490987
commit
761fc84658
7
docs/_static/disqus.js
vendored
7
docs/_static/disqus.js
vendored
|
@ -1,7 +1,10 @@
|
||||||
|
var disqus_shortname;
|
||||||
|
var disqus_identifier;
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
var disqus_thread = $("#disqus_thread");
|
var disqus_thread = $("#disqus_thread");
|
||||||
var disqus_shortname = disqus_thread.data('disqus-shortname');
|
disqus_shortname = disqus_thread.data('disqus-shortname');
|
||||||
var disqus_identifier = disqus_thread.data('disqus-identifier');
|
disqus_identifier = disqus_thread.data('disqus-identifier');
|
||||||
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 = '//' + disqus_shortname + '.disqus.com/embed.js';
|
dsq.src = '//' + 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…
Reference in New Issue
Block a user