From f2839c759e505a56cb9dae96af7ef30832b1beb3 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 02:06:29 +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 2c537a4..3cf0728 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -203,8 +203,8 @@ function router() { if(window.DISQUS){DISQUS.reset({ reload: true, config: function () { - this.page.identifier = location.hash; - this.page.url = 'http://'+location.host+'/'+location.hash.replace("#", ""); + window.disqus_identifier = location.hash; + window.disqus_url = 'http://'+location.host+'/'+location.hash.replace("#", ""); } }); }