Skip to content

Commit

Permalink
added event propagation to click-awayable mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
pbambusek committed Sep 21, 2015
1 parent 90c256e commit b3b9bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/click-awayable.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
if (event.target !== el &&
!Dom.isDescendant(el, event.target) &&
document.documentElement.contains(event.target)) {
if (this.componentClickAway) this.componentClickAway();
if (this.componentClickAway) this.componentClickAway(event);
}
},

Expand Down

0 comments on commit b3b9bd6

Please sign in to comment.