Skip to content

Commit

Permalink
[changed] enable Modal click event propagation, resolves #900
Browse files Browse the repository at this point in the history
  • Loading branch information
Minwe committed Jul 22, 2016
1 parent ce81126 commit 2c0556c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/ui.modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ Modal.prototype.events = function() {
// trigger dimmer click event if non-dialog area clicked
// fixes #882 caused by https://github.com/amazeui/amazeui/commit/b6be7719681193f1c4cb04af89cb9fd9f4422163
.on('click', function(e) {
e.stopPropagation();
// fixes #900
// e.stopPropagation();
$(e.target).is($element) && $dimmer.trigger('click.dimmer.modal.amui');
});

Expand Down

0 comments on commit 2c0556c

Please sign in to comment.