X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/0fda15db882f5e4019fd6ec8ae59b6fefd907104..e0d087f4a2b5fbc758de432f8932de296279a82f:/src/assets/js/polygons.js?ds=sidebyside 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(); }); -}); +}