We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7441d3f + c4f431d commit acf3c0bCopy full SHA for acf3c0b
js/modal.js
@@ -107,9 +107,6 @@
107
108
this.isShown = false
109
110
- this.$body.removeClass('modal-open')
111
-
112
- this.resetScrollbar()
113
this.escape()
114
115
$(document).off('focusin.bs.modal')
@@ -150,6 +147,8 @@
150
147
var that = this
151
148
this.$element.hide()
152
149
this.backdrop(function () {
+ that.$body.removeClass('modal-open')
+ that.resetScrollbar()
153
that.$element.trigger('hidden.bs.modal')
154
})
155
}
0 commit comments