1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

edit ditto.js

This commit is contained in:
ruanyf 2014-04-26 00:55:03 +08:00
parent f406f59e8e
commit 63ca84a648

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("#", "");
}
});