diff options
| author | Jacob Thornton <[email protected]> | 2012-01-08 14:38:21 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-08 14:38:21 -0800 |
| commit | aa0c4acd80562645ae85ef9a76f6b45e778d7acd (patch) | |
| tree | 2f2575ab7e27024ff1a65f8fbcc3c8dd384d9f08 | |
| parent | 76cadd1d2a493d4cbcfe8acd984bd4f908b25abf (diff) | |
| download | bootstrap-aa0c4acd80562645ae85ef9a76f6b45e778d7acd.tar.xz bootstrap-aa0c4acd80562645ae85ef9a76f6b45e778d7acd.zip | |
fix modal insertion boolean
| -rw-r--r-- | js/bootstrap-modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index 670d55c4e..df4f3c764 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -51,7 +51,7 @@ backdrop.call(this, function () { 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 .show() |
