X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/42a0664654222836b24915e2bb484c5442daab06..f51f2a70794858f9c8fb5d75ecd40fd1e4ec3897:/src/App.svelte?ds=sidebyside

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 />
