diff --git a/js/ditto.js b/js/ditto.js index a0b815d..f9c8210 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -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);