Make "add note" cope with base layer changes

This commit is contained in:
Tom Hughes 2013-05-01 09:26:05 +01:00
parent 4bb1bccd9c
commit a5f3abcbe9

View file

@ -219,7 +219,7 @@ $(document).ready(function () {
});
}
$("#createnoteanchor").click(function (e) {
$(".leaflet-control-attribution").on("click", "#createnoteanchor", function (e) {
e.preventDefault();
if ($(e.target).hasClass("disabled")) return;