edit ditto.js

This commit is contained in:
ruanyf
2014-04-26 00:55:03 +08:00
parent f406f59e8e
commit 63ca84a648
+2 -2
View File
@@ -211,8 +211,8 @@ function router() {
DISQUS.reset({
reload: true,
config: function () {
this.page.identifier = "newidentifier";
this.page.url = "http://example.com/#!newthread";
this.page.identifier = location.hash;
this.page.url = 'http://'+location.host+'/#!'+location.hash.replace("#", "");
}
});