X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/b687c8f1cbd62f88c61db9b209bc8f7145203d3c..a14e894bfc075935757f10ae2be4df3c4e17bdbd:/src/assets/js/polygons.js diff --git a/src/assets/js/polygons.js b/src/assets/js/polygons.js index 3ccaf11..9470649 100644 --- a/src/assets/js/polygons.js +++ b/src/assets/js/polygons.js @@ -2,9 +2,8 @@ // BROKEN POLYGON PAGE // ********************************************************* -jQuery(document).ready(function () { - if (!$('#polygons-page').length) { return; } - +function polygons_page_load() { + // var api_request_params = { format: 'json' }; @@ -17,4 +16,4 @@ jQuery(document).ready(function () { update_data_date(); }); -}); +}