From 398cb8015f184153c1ce170d8231509e2b6a1ac5 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 00:37: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 71d3c21..ac5647a 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -195,9 +195,9 @@ function router() { path = path + ".md"; } - disqus_identifier = location.hash; + disqus_identifier = path; disqus_title = $(ditto.content_id+" h1").text(); - disqus_url = location.href+'?location='+path; + disqus_url = path; // otherwise get the markdown and render it var loading = show_loading();