Commit f2e15402 authored by Jacob Thornton's avatar Jacob Thornton

fix reflow typo - should be $element not $backdrop

parent 01ab4caa
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
.show() .show()
if ($.support.transition && that.$element.hasClass('fade')) { if ($.support.transition && that.$element.hasClass('fade')) {
that.$backdrop[0].offsetWidth // force reflow that.$element[0].offsetWidth // force reflow
} }
that.$element that.$element
...@@ -144,13 +144,13 @@ ...@@ -144,13 +144,13 @@
} }
if ( doAnimate ) { if ( doAnimate ) {
that.$backdrop[0].offsetWidth // force reflow this.$backdrop[0].offsetWidth // force reflow
} }
that.$backdrop && that.$backdrop.addClass('in') this.$backdrop.addClass('in')
doAnimate ? doAnimate ?
that.$backdrop.one(transitionEnd, callback) : this.$backdrop.one(transitionEnd, callback) :
callback() callback()
} else if ( !this.isShown && this.$backdrop ) { } else if ( !this.isShown && this.$backdrop ) {
......
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