anchor.diff:      $('[name=destination\\[lng\\]]', row).val(latLng.lng).trigger('change');
     }
   
  -  function dragend(event) {
  -    sendMove(event.target.options.destination, event.target.getLatLng());
  -  }
  -
  -
     map.on('click', function(mouseEvent) {
  -    if (pointing) {
  -      var id = pointing;
  -      if (id in markers) {
  -        markers[id].setLatLng(mouseEvent.latlng);
  +    if (pointing !== false) {
  +      if (pointing in markers) {
  +        markers[pointing].setLatLng(mouseEvent.latlng);
         } else {
           addMarker(pointing, mouseEvent.latlng.lat, mouseEvent.latlng.lng);
         }
  -      sendMove(id, mouseEvent.latlng);
  +      sendMove(pointing, mouseEvent.latlng);
         pointing = false;
         $('body').css('cursor', '');
         $('.leaflet-container').css('cursor', pointing_cursor);
  
positive.code:   }).addTo(map);
  
    var layer = L.layerGroup();
    var marker;
  
    var pointing = false;
    var pointing_cursor;
  
    function wire(row) {
      var id = $(row).attr('data-destination_id');
  
negative.code:     });
      destination.tags = t;
      $(row).replaceWith(SMT['destinations/show'](destination));
      destination_id = destination.id;
      row = $('[data-destination_id=' + destination_id + ']');
      wire(row);
      $('.destinations').trigger('update');
  
      markers[destination_id].setLatLng(new L.LatLng(destination.lat, destination.lng));
      map.setView(markers[destination_id].getLatLng(), 16);
    }
  
    function sendMove(id, latLng) {
  