From b4f35c2d6646f109b3c38c70a9f6477fbf4d4c59 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 09:30:11 +0800 Subject: [PATCH] edit ditto.js --- js/ditto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ditto.js b/js/ditto.js index 7a27786..a3a1885 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -204,13 +204,13 @@ function router() { // http://docs.disqus.com/help/2/ window.disqus_shortname = 'es6'; window.disqus_identifier = location.hash?location.hash.replace("#", ""):'index'; - window.disqus_title =$(ditto.content_id+" h1").text(); + // window.disqus_title =$(ditto.content_id+" h1").text(); window.disqus_url = 'http://es6.ruanyifeng.com/' + location.hash?location.hash.replace("#", ""):'index'; // http://docs.disqus.com/developers/universal/ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://es6.disqus.com/embed.js?'+Date.now(); + dsq.src = 'http://es6.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); }