};
function newHalo(loc, a) {
- var hasHalo = halo && map.hasLayer(halo)
+ var hasHalo = halo && map.hasLayer(halo);
if (a === "dragstart" && hasHalo) {
map.removeLayer(halo);
newNote.on("remove", function () {
addNoteButton.removeClass("active");
- }).on("dragstart", function () {
- $(newNote).stopTime("removenote");
}).on("dragend", function () {
content.find("textarea").focus();
});