X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/74cf33bfb3c4b8fe562b48b22d1668a0b75b919c..a82c578374260ba3450fbd475da5739b9d92a4ce:/src/assets/js/searchpage.js diff --git a/src/assets/js/searchpage.js b/src/assets/js/searchpage.js index f53dfd4..0aeab64 100755 --- a/src/assets/js/searchpage.js +++ b/src/assets/js/searchpage.js @@ -339,6 +339,7 @@ function search_page_load() { aPlace = null; } + context.bSearchRan = true; context.aPlace = aPlace; render_template($('main'), 'reversepage-template', context); @@ -406,6 +407,7 @@ function search_page_load() { fetch_from_api('search', api_request_params, function (aResults) { + context.bSearchRan = true; context.aSearchResults = aResults; if (aResults.length >= 10) {