X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8fb5ad24c5751bd2d43b86e4359381d200af066..2b42fd102a55f7af41b8e19dfcb7271abb72ed1d:/app/assets/javascripts/edit.js diff --git a/app/assets/javascripts/edit.js b/app/assets/javascripts/edit.js index b9aba25d3..8800195b3 100644 --- a/app/assets/javascripts/edit.js +++ b/app/assets/javascripts/edit.js @@ -5,14 +5,3 @@ function maximiseMap() { function minimiseMap() { $("#content").removeClass("maximised"); } - -$(document).ready(function () { - $("#search_form").submit(function () { - $("#sidebar_title").html(I18n.t('site.sidebar.search_results')); - $("#sidebar_content").load($(this).attr("action"), { - query: $("#query").val() - }, openSidebar); - - return false; - }); -});