X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6b696558126fdeaefab37291a3bd26136c95fddb..8919c8c40416a70e1a5516f03e2628c5dd380d40:/app/assets/javascripts/leaflet.key.js diff --git a/app/assets/javascripts/leaflet.key.js b/app/assets/javascripts/leaflet.key.js index b9b7c9c04..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( - $("