X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7e5d47e6a853a00731d01868e3dc961149345ef5..1db26ff5f9039fb6e55d3a65f16cb43ba28aba20:/app/assets/javascripts/leaflet.key.js?ds=inline diff --git a/app/assets/javascripts/leaflet.key.js b/app/assets/javascripts/leaflet.key.js index 367c39c14..6a3400d34 100644 --- a/app/assets/javascripts/leaflet.key.js +++ b/app/assets/javascripts/leaflet.key.js @@ -1,37 +1,11 @@ L.OSM.key = function (options) { - var control = L.control(options); - - control.onAdd = function (map) { - var $container = $("
") - .attr("class", "control-key"); - - var button = $("") - .attr("class", "control-button") - .attr("href", "#") - .html("") - .on("click", toggle) - .appendTo($container); - - var $ui = $("
") - .attr("class", "key-ui"); - - $("
") - .attr("class", "sidebar_heading") - .appendTo($ui) - .append( - $("