Skip to content

Commit 04a3b1d

Browse files
committed
push updated js
1 parent 43a6daf commit 04a3b1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

1.3.0/bootstrap-modal.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
.show()
8787

8888
if ($.support.transition && that.$element.hasClass('fade')) {
89-
that.$backdrop[0].offsetWidth // force reflow
89+
that.$element[0].offsetWidth // force reflow
9090
}
9191

9292
that.$element
@@ -144,13 +144,13 @@
144144
}
145145

146146
if ( doAnimate ) {
147-
that.$backdrop[0].offsetWidth // force reflow
147+
this.$backdrop[0].offsetWidth // force reflow
148148
}
149149

150-
that.$backdrop && that.$backdrop.addClass('in')
150+
this.$backdrop.addClass('in')
151151

152152
doAnimate ?
153-
that.$backdrop.one(transitionEnd, callback) :
153+
this.$backdrop.one(transitionEnd, callback) :
154154
callback()
155155

156156
} else if ( !this.isShown && this.$backdrop ) {

0 commit comments

Comments
 (0)