From 92d99645f8cdee00d9002736854f0e545c3f31ee Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 09:36:22 +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 291b5b9..d023590 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -203,9 +203,9 @@ function router() { function loadDisqus() { // http://docs.disqus.com/help/2/ window.disqus_shortname = 'es6'; - window.disqus_identifier = (location.hash?location.hash.replace("#", ""):'index'); + window.disqus_identifier = (location.hash?location.hash.replace("#", ""):'READEME'); window.disqus_title =$(ditto.content_id+" h1").text(); - window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash?location.hash.replace("#", ""):'index'); + window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash?location.hash.replace("#", ""):'README'); // http://docs.disqus.com/developers/universal/ (function() {