Skip to content

Commit

Permalink
Merge pull request #1694 from pbambusek/click-awayable
Browse files Browse the repository at this point in the history
[ClickAwayable] added event propagation to click-awayable mixin
  • Loading branch information
oliviertassinari committed Oct 23, 2015
2 parents f47888c + b3b9bd6 commit 1169058
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 @@ -23,7 +23,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 1169058

Please sign in to comment.