Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
maihde committed May 22, 2021
1 parent c042704 commit 4b58015
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/sigplot.accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,15 +506,15 @@
_onDocMouseUp() {
const Mx = this.Mx;

// We are no longer dragging
this.dragging = false;
this.edge_dragging = false;

// only emit an event if we are actually dragging
if (!this.dragging || !this.edge_dragging) {
return;
}

// We are no longer dragging
this.dragging = false;
this.edge_dragging = false;

// Issue a slider tag event
let evt = document.createEvent('Event');
evt.initEvent('accordiontag', true, true);
Expand Down

0 comments on commit 4b58015

Please sign in to comment.