aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-08-17 15:05:59 -0700
committerfat <[email protected]>2013-08-17 15:05:59 -0700
commita10ec62f6372d6c99da286cb1af59c44e411c5a8 (patch)
tree42befb07501afb49ff5d8da07e49a38b406264ce /js
parent484d51ce4897e81c018786b4ecc1825d4c67ee3c (diff)
downloadbootstrap-a10ec62f6372d6c99da286cb1af59c44e411c5a8.tar.xz
bootstrap-a10ec62f6372d6c99da286cb1af59c44e411c5a8.zip
fixes #9579
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)
})