Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
2cccc088
Commit
2cccc088
authored
11 years ago
by
fat
Browse files
Options
Download
Email Patches
Plain Diff
make sure triggering element is visible before focusing
#7521
parent
a7a9a143
3 merge requests
!8635
ignore Gruntfile.js in jekyll
,
!8656
Added rel="stylesheet" to CDN-Examples
,
!8527
Inner properties move 1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/js/bootstrap.js
+1
-1
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
js/modal.js
+1
-1
js/modal.js
with
3 additions
and
3 deletions
+3
-3
docs/assets/js/bootstrap.js
+
1
-
1
View file @
2cccc088
...
...
@@ -1011,7 +1011,7 @@
$target
.
modal
(
option
)
.
one
(
'
hide
'
,
function
()
{
$this
.
focus
()
$this
.
is
(
'
:visible
'
)
&&
$this
.
focus
()
})
})
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
2cccc088
This diff is collapsed.
Click to expand it.
js/modal.js
+
1
-
1
View file @
2cccc088
...
...
@@ -232,7 +232,7 @@
$target
.
modal
(
option
)
.
one
(
'
hide
'
,
function
()
{
$this
.
focus
()
$this
.
is
(
'
:visible
'
)
&&
$this
.
focus
()
})
})
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets