1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-05 05:07:35 +02:00

fix modal insertion boolean

This commit is contained in:
Jacob Thornton
2012-01-08 14:38:21 -08:00
parent 76cadd1d2a
commit aa0c4acd80

View File

@@ -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()