aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-17 15:08:02 -0700
committerMark Otto <[email protected]>2013-08-17 15:08:02 -0700
commit5ba19dc8849b1b87836404acfa8bbb336db1e496 (patch)
tree1b71bf66ebb1f8ec38522db3c96a8fd8b7cbd7df /js
parent4f97df8aa42d2609efd52ea21f1e84124afbe39d (diff)
parenta01b1dd71ac56667becb42d245213bf698d2cc36 (diff)
downloadbootstrap-5ba19dc8849b1b87836404acfa8bbb336db1e496.tar.xz
bootstrap-5ba19dc8849b1b87836404acfa8bbb336db1e496.zip
Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip
Diffstat (limited to 'js')
-rw-r--r--js/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/modal.js b/js/modal.js
index 0b392d161..65eba481e 100644
--- a/js/modal.js
+++ b/js/modal.js
@@ -78,7 +78,7 @@
var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
transition ?
- that.$element
+ that.$element.find('.modal-dialog') // wait for modal to slide in
.one($.support.transition.end, function () {
that.$element.focus().trigger(e)
})