]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/assets/js/nominatim-ui.js
move third-party libraries to /src/vendor
[nominatim-ui.git] / src / assets / js / nominatim-ui.js
index 79eeba911b034536d2b004385342dee770523034..8c8c8af57e18ffc4d9f942d269fc9788e6833cf5 100755 (executable)
@@ -351,7 +351,7 @@ jQuery(document).ready(function(){
                 aPlace: aPlace,
                 fLat: api_request_params.lat,
                 fLon: api_request_params.lon,
-                iZoom: (api_request_params.zoom !== '' ? api_request_params.zoom : undefined)
+                iZoom: (search_params.get('zoom') !== '' ? api_request_params.zoom : undefined)
             };
 
             render_template($('main'), 'reversepage-template', context);