Commit aa0c4acd authored by Jacob Thornton's avatar Jacob Thornton

fix modal insertion boolean

parent 76cadd1d
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
backdrop.call(this, function () { backdrop.call(this, function () {
var transition = $.support.transition && that.$element.hasClass('fade') var transition = $.support.transition && that.$element.hasClass('fade')
!that.$element.parent() && that.$element.appendTo(document.body) //don't move modals dom position !that.$element.parent().length && that.$element.appendTo(document.body) //don't move modals dom position
that.$element that.$element
.show() .show()
......
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