From 46c644b0efa0fa21476389d91f75ea02c50895e4 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Sat, 26 Apr 2014 00:56:52 +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 d1d6a96..648383c 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -212,7 +212,7 @@ function router() { reload: true, config: function () { this.page.identifier = location.hash; - this.page.url = 'http://'+location.host+'/#!'+location.hash.replace("#", ""); + this.page.url = location.href; } });