From 2fe866305bb0d54fc2ccb3131be498d82141be84 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 00:41:11 +0800 Subject: [PATCH] edit ditto.js --- js/ditto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ditto.js b/js/ditto.js index ac5647a..a58e2fb 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -197,7 +197,7 @@ function router() { disqus_identifier = path; disqus_title = $(ditto.content_id+" h1").text(); - disqus_url = path; + disqus_url = location.host + '?location='+path; // otherwise get the markdown and render it var loading = show_loading();