Skip to content

Commit

Permalink
Fix Interactable#off for directly bound DOM events
Browse files Browse the repository at this point in the history
Closes #149
  • Loading branch information
taye committed Jan 6, 2015
1 parent 9d9a184 commit daed1ee
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 @@ -4795,7 +4795,7 @@
}
// remove listener from this Interatable's element
else {
events.remove(this, listener, useCapture);
events.remove(this._element, eventType, listener, useCapture);
}

return this;
Expand Down

0 comments on commit daed1ee

Please sign in to comment.