fix discus hash url

This commit is contained in:
ruanyf
2015-10-14 21:09:23 +08:00
parent 62f987c4cc
commit 77503618e3
+1 -1
View File
@@ -194,7 +194,7 @@ function show_loading() {
function router() {
var path = location.hash.replace("#", "./");
var path = location.hash.replace(/#([^#]*)(#.*)?/, './$1');
if (ditto.save_progress && store.get('menu-progress') !== location.hash) {
store.set('menu-progress', location.hash);