From 8dba6fa23eff348c2249348024f9871e9a51e571 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 00:43:55 +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 a58e2fb..afebe58 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 = location.host + '?location='+path; + disqus_url = location.href; // otherwise get the markdown and render it var loading = show_loading();