From ad7bc7415bd3d2dfde8eec3800c3936e6a3db31e Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 2 Oct 2013 11:17:55 -0700 Subject: [PATCH] Remove unused --- app/assets/javascripts/edit.js | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/app/assets/javascripts/edit.js b/app/assets/javascripts/edit.js index b03b71154..8800195b3 100644 --- a/app/assets/javascripts/edit.js +++ b/app/assets/javascripts/edit.js @@ -5,25 +5,3 @@ function maximiseMap() { function minimiseMap() { $("#content").removeClass("maximised"); } - -$(document).ready(function () { - $("#search_form").submit(function (e) { - e.preventDefault(); - - $("#sidebar_content").load($(this).attr("action"), { - query: $("#query").val() - }); - }); - - $("#describe_location").click(function (e) { - e.preventDefault(); - - var mapParams = OSM.mapParams(); - - $("#sidebar_content").load($(this).attr("href"), { - lat: mapParams.lat, - lon: mapParams.lon, - zoom: mapParams.zoom - }); - }); -}); -- 2.39.5