docs/examples/libs/Leaflet.draw.drag-src.js
function(e) {
    if ((this.dragging && this.dragging.moved()) ||
      (this._map.dragging && this._map.dragging.moved())) {
      return;
    }

    this._fireMouseEvent(e);
  }
function(e) {
    if ((this.dragging && this.dragging.moved()) ||
      (this._map.dragging && this._map.dragging.moved())) {
      return;
    }

    this._fireMouseEvent(e);
  }
function ( e ) { if ( ( this . dragging && this . dragging . moved ( ) ) || ( this . _map . dragging && this . _map . dragging . moved ( ) ) ) { return ; } this . _fireMouseEvent ( e ) ; }
Check if the feature was dragged, that'll supress the click event
on mouseup. That fixes popups for example

@param  {MouseEvent} e
Check if the feature was dragged that ll supress the click event on mouseup . That fixes popups for example