From 73d451a61291c2e284c6ba2545e0729ab33874e5 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 02:04:48 +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 3b0bd01..2c537a4 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -204,7 +204,7 @@ function router() { reload: true, config: function () { this.page.identifier = location.hash; - this.page.url = location.href; + this.page.url = 'http://'+location.host+'/'+location.hash.replace("#", ""); } }); }