Commit c4f431d2 authored by Heinrich Fenkart's avatar Heinrich Fenkart

Remove `.modal-open` class after backdrop is hidden

Fixes #14274.
Fixes #14632.
parent 859ddc11
......@@ -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')
})
}
......
Markdown is supported
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