sigplot
sigplot copied to clipboard
Accordion onmouseup change events guaranteed to not fire
https://github.com/LGSInnovations/sigplot/blob/5bae7873547e8a490a691ee30c2576800e6cb81a/js/sigplot.accordion.js#L429-L451
this.dragging
and this.edge_dragging
are set to false just before the if-statement that returns if one of them is false.
Furthermore, I believe the if-statement logic is incorrect. this.dragging
is set to true if the center is being dragged, and this.edge_dragging
is true if the edge is being dragged. They are never both true at the same time it appears, so the if-statement will always be truthy and the event never fired.