diff options
| author | Jacob Thornton <[email protected]> | 2011-09-10 22:14:57 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-09-10 22:14:57 -0700 |
| commit | 64176caa972fdf925fe244cdbf1d53d82da592f4 (patch) | |
| tree | 413ff6c850a038be203b64526caca958db1487c6 /js/bootstrap-modal.js | |
| parent | a71d5d8e991eee4073d3312743778b1991cfb650 (diff) | |
| download | bootstrap-64176caa972fdf925fe244cdbf1d53d82da592f4.tar.xz bootstrap-64176caa972fdf925fe244cdbf1d53d82da592f4.zip | |
add bootstrap-scrollspy
Diffstat (limited to 'js/bootstrap-modal.js')
| -rw-r--r-- | js/bootstrap-modal.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index a7ab252eb..f1e795668 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -59,6 +59,7 @@ this.isShown = true _.escape.call(this) + _.backdrop.call(this, function () { that.$element .appendTo(document.body) @@ -133,6 +134,8 @@ $.support.transition && this.$element.hasClass('fade')? this.$backdrop.one(transitionEnd, removeElement) : removeElement() + } else { + callback() } } |
