X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52daf1dbc483e1636e721b0855cb9dca49cca7a7..3fb931f9a86955faa39bec1fa4f2a731cbc74780:/app/assets/javascripts/index.js?ds=inline diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index e18c89536..c0decd6a6 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -1,6 +1,7 @@ //= require index/browse //= require index/export //= require index/key +//= require index/notes $(document).ready(function () { var marker; @@ -38,13 +39,6 @@ $(document).ready(function () { handleResize(); - $("#show_data").click(function (e) { - $.ajax({ url: $(this).attr('href'), success: function (sidebarHtml) { - startBrowse(sidebarHtml); - }}); - e.preventDefault(); - }); - $("body").on("click", "a.set_position", function () { var data = $(this).data(); var centre = new OpenLayers.LonLat(data.lon, data.lat);