From 0fc953447b3617d2d665873025ea613bdeb0da17 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 00:19:29 +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 bba6d0e..866479a 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -197,7 +197,7 @@ function router() { disqus_identifier = location.hash; disqus_title = $(ditto.content_id+" h1").text(); - disqus_url = location.href; + disqus_url = location.host+path; // otherwise get the markdown and render it var loading = show_loading();