Skip to content

Commit

Permalink
Merge pull request #258 from hyzhak/patch-1
Browse files Browse the repository at this point in the history
Fix one missed interaction element on stop triggered
  • Loading branch information
taye committed Aug 18, 2015
2 parents 736b8a4 + 402e6b0 commit f4ee347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interact.js
Original file line number Diff line number Diff line change
Expand Up @@ -5573,7 +5573,7 @@
= (object) interact
\*/
interact.stop = function (event) {
for (var i = interactions.length - 1; i > 0; i--) {
for (var i = interactions.length - 1; i >= 0; i--) {
interactions[i].stop(event);
}

Expand Down

0 comments on commit f4ee347

Please sign in to comment.