X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/b687c8f1cbd62f88c61db9b209bc8f7145203d3c..ee9ae6193aefe2a28522a71406cbb92614844f1e:/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(); }); -}); +}