X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/bb8dd3ac61b84f7aaf492be006528974938168bf..a1f64c3f71e51745529a05c31891ee7af0b7f324:/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 />
