From b9f189b3f72bcbb23eacad130beb2f9035ff89b5 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Thu, 4 May 2023 15:05:27 +0300 Subject: [PATCH] Fix Html5History missing fragment on initial load --- modules/reitit-frontend/src/reitit/frontend/history.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/reitit-frontend/src/reitit/frontend/history.cljs b/modules/reitit-frontend/src/reitit/frontend/history.cljs index 5764e10f..14353582 100644 --- a/modules/reitit-frontend/src/reitit/frontend/history.cljs +++ b/modules/reitit-frontend/src/reitit/frontend/history.cljs @@ -132,7 +132,8 @@ nil) (-get-path [this] (str (.. js/window -location -pathname) - (.. js/window -location -search))) + (.. js/window -location -search) + (.. js/window -location -hash))) (-href [this path] path))