summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5542858)
Same reasons as in the previous commit.
newNoteMarker.addTo(map);
addHalo(newNoteMarker.getLatLng());
newNoteMarker.addTo(map);
addHalo(newNoteMarker.getLatLng());
- newNoteMarker.on("remove", function () {
- addNoteButton.removeClass("active");
- }).on("dragend", function () {
+ newNoteMarker.on("dragend", function () {
content.find("textarea").focus();
});
}
content.find("textarea").focus();
});
}
createNote(location, text, (feature) => {
content.find("textarea").val("");
addCreatedNoteMarker(feature);
createNote(location, text, (feature) => {
content.find("textarea").val("");
addCreatedNoteMarker(feature);
- addNoteButton.removeClass("active");
OSM.router.route("/note/" + feature.properties.id);
});
});
OSM.router.route("/note/" + feature.properties.id);
});
});