mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
fixes #9579
This commit is contained in:
Vendored
+1
-1
@@ -904,7 +904,7 @@ if (!jQuery) { throw new Error("Bootstrap requires jQuery") }
|
|||||||
var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
|
var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
|
||||||
|
|
||||||
transition ?
|
transition ?
|
||||||
that.$element
|
that.$element.find('.modal-dialog') // wait for modal to slide in
|
||||||
.one($.support.transition.end, function () {
|
.one($.support.transition.end, function () {
|
||||||
that.$element.focus().trigger(e)
|
that.$element.focus().trigger(e)
|
||||||
})
|
})
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -78,7 +78,7 @@
|
|||||||
var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
|
var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
|
||||||
|
|
||||||
transition ?
|
transition ?
|
||||||
that.$element
|
that.$element.find('.modal-dialog') // wait for modal to slide in
|
||||||
.one($.support.transition.end, function () {
|
.one($.support.transition.end, function () {
|
||||||
that.$element.focus().trigger(e)
|
that.$element.focus().trigger(e)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user