Commit acf3c0bf authored by Heinrich Fenkart's avatar Heinrich Fenkart
Browse files

Merge pull request #14570 from twbs/remove-modal-open-after-backdrop-closed

Remove `.modal-open` class after backdrop is hidden
parents 7441d3f4 c4f431d2
4 merge requests!28721Hot test,!16605Test pull please ignore,!22103test,!25326Adjust examples
Showing with 2 additions and 3 deletions
+2 -3
......@@ -107,9 +107,6 @@
this.isShown = false
this.$body.removeClass('modal-open')
this.resetScrollbar()
this.escape()
$(document).off('focusin.bs.modal')
......@@ -150,6 +147,8 @@
var that = this
this.$element.hide()
this.backdrop(function () {
that.$body.removeClass('modal-open')
that.resetScrollbar()
that.$element.trigger('hidden.bs.modal')
})
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment