X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/b687c8f1cbd62f88c61db9b209bc8f7145203d3c..39227d69e04802bce7d29ef2360829effaf99c6a:/src/assets/js/deletable.js diff --git a/src/assets/js/deletable.js b/src/assets/js/deletable.js index 308b70c..1dc8f0e 100644 --- a/src/assets/js/deletable.js +++ b/src/assets/js/deletable.js @@ -2,8 +2,7 @@ // DELETABLE PAGE // ********************************************************* -jQuery(document).ready(function () { - if (!$('#deletable-page').length) { return; } +function deletable_page_load() { var api_request_params = { format: 'json' @@ -17,4 +16,4 @@ jQuery(document).ready(function () { update_data_date(); }); -}); +}