Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorfat <jacobthornton@gmail.com>2013-08-18 02:05:59 +0400
committerfat <jacobthornton@gmail.com>2013-08-18 02:05:59 +0400
commita10ec62f6372d6c99da286cb1af59c44e411c5a8 (patch)
tree42befb07501afb49ff5d8da07e49a38b406264ce /js
parent484d51ce4897e81c018786b4ecc1825d4c67ee3c (diff)
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 0b392d1615..65eba481e5 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)
})