Skip to content

Commit 4b58015

Browse files
committed
1 parent c042704 commit 4b58015

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/sigplot.accordion.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -506,15 +506,15 @@
506506
_onDocMouseUp() {
507507
const Mx = this.Mx;
508508

509-
// We are no longer dragging
510-
this.dragging = false;
511-
this.edge_dragging = false;
512-
513509
// only emit an event if we are actually dragging
514510
if (!this.dragging || !this.edge_dragging) {
515511
return;
516512
}
517513

514+
// We are no longer dragging
515+
this.dragging = false;
516+
this.edge_dragging = false;
517+
518518
// Issue a slider tag event
519519
let evt = document.createEvent('Event');
520520
evt.initEvent('accordiontag', true, true);

0 commit comments

Comments
 (0)