From 761fc84658a388e0a747eb6a6429a2c77394543e Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Tue, 16 Jun 2020 22:32:47 -0400 Subject: [PATCH] Update disqus.js --- docs/_static/disqus.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/_static/disqus.js b/docs/_static/disqus.js index bbdb4505..fbd2644f 100644 --- a/docs/_static/disqus.js +++ b/docs/_static/disqus.js @@ -1,7 +1,10 @@ +var disqus_shortname; +var disqus_identifier; + $(function() { var disqus_thread = $("#disqus_thread"); - var disqus_shortname = disqus_thread.data('disqus-shortname'); - var disqus_identifier = disqus_thread.data('disqus-identifier'); + 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);