X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/bb8dd3ac61b84f7aaf492be006528974938168bf..1df8bbfb327d8022a34cd2158853ad7e13d1a01e:/src/App.svelte

diff --git a/src/App.svelte b/src/App.svelte
index e543afd..54cad5d 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -18,6 +18,9 @@
   refresh_page();
 </script>
 
+<!-- deal with back-button and other user action -->
+<svelte:window on:popstate={refresh_page} />
+
 <Header/>
 {#if view === 'search'}
 <SearchPage />
