From 2b76df168d0383a9fb67ad23fc5187404a5e655a Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 01:18:18 +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 b0dc1b2..f9cbeb4 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -212,8 +212,8 @@ function router() { DISQUS.reset({ reload: true, config: function () { - this.page.identifier = location.hash; - this.page.url = location.href; + window.disqus_identifier = location.hash; + window.disqus_url = location.href; } }); }