We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 599965a + 9e60b95 commit e240db8Copy full SHA for e240db8
src/dd-draggable.ts
@@ -120,7 +120,7 @@ export class DDDraggable extends DDBaseImplement implements HTMLElementExtendOpt
120
public destroy(): void {
121
if (this.dragTimeout) window.clearTimeout(this.dragTimeout);
122
delete this.dragTimeout;
123
- if (this.dragging) this._mouseUp(this.mouseDownEvent);
+ if (this.mouseDownEvent) this._mouseUp(this.mouseDownEvent);
124
this.disable(true);
125
delete this.el;
126
delete this.helper;
0 commit comments