X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/6beafb16431a1cf87ad160ab50b07db31971d873..9db3dd69e12bb27b078cc821b1d0f2aa942816fe:/dist/assets/js/nominatim-ui.js diff --git a/dist/assets/js/nominatim-ui.js b/dist/assets/js/nominatim-ui.js index 05019aa..9fff0c7 100644 --- a/dist/assets/js/nominatim-ui.js +++ b/dist/assets/js/nominatim-ui.js @@ -428,20 +428,6 @@ function init_map_on_search_page(is_reverse_search, nominatim_results, request_l update_viewbox_field(); }); - $("input[name='query-selector']").click(function () { - var query_val = $("input[name='query-selector']:checked").val(); - if (query_val === 'simple') { - $('div.form-group-simple').removeClass('hidden'); - $('div.form-group-structured').addClass('hidden'); - $('.form-group-structured').find('input:text').val(''); - } else if (query_val === 'structured') { - console.log('here'); - $('div.form-group-simple').addClass('hidden'); - $('div.form-group-structured').removeClass('hidden'); - $('.form-group-simple').find('input:text').val(''); - } - }); - function get_result_element(position) { return $('.result').eq(position); }