Skip to content

Commit

Permalink
fix modal closing click release
Browse files Browse the repository at this point in the history
  • Loading branch information
Noa83 committed Mar 11, 2020
1 parent 7e67bdc commit 1eb74b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bundles/CoreBundle/Assets/js/libraries/3.bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ if (typeof jQuery === 'undefined') {
this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
.appendTo(document.body)

this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
this.$element.on('mousedown.dismiss.bs.modal', $.proxy(function (e) {
if (e.target !== e.currentTarget) return
this.options.backdrop == 'static'
? this.$element[0].focus.call(this.$element[0])
Expand Down

0 comments on commit 1eb74b5

Please sign in to comment.