We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43a6daf commit 04a3b1dCopy full SHA for 04a3b1d
1.3.0/bootstrap-modal.js
@@ -86,7 +86,7 @@
86
.show()
87
88
if ($.support.transition && that.$element.hasClass('fade')) {
89
- that.$backdrop[0].offsetWidth // force reflow
+ that.$element[0].offsetWidth // force reflow
90
}
91
92
that.$element
@@ -144,13 +144,13 @@
144
145
146
if ( doAnimate ) {
147
+ this.$backdrop[0].offsetWidth // force reflow
148
149
150
- that.$backdrop && that.$backdrop.addClass('in')
+ this.$backdrop.addClass('in')
151
152
doAnimate ?
153
- that.$backdrop.one(transitionEnd, callback) :
+ this.$backdrop.one(transitionEnd, callback) :
154
callback()
155
156
} else if ( !this.isShown && this.$backdrop ) {
0 commit comments