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
7d75734e
Commit
7d75734e
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #13615 from twbs/namespacing
add missing event namespacing in modal.js
parents
082bc20b
3d1723d6
4 merge requests
!28721
Hot test
,
!16605
Test pull please ignore
,
!22103
test
,
!25326
Adjust examples
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/modal.js
+1
-1
js/modal.js
with
1 addition
and
1 deletion
+1
-1
js/modal.js
+
1
-
1
View file @
7d75734e
...
...
@@ -269,7 +269,7 @@
if
(
$this
.
is
(
'
a
'
))
e
.
preventDefault
()
Plugin
.
call
(
$target
,
option
,
this
)
$target
.
one
(
'
hide
'
,
function
()
{
$target
.
one
(
'
hide
.bs.modal
'
,
function
()
{
$this
.
is
(
'
:visible
'
)
&&
$this
.
trigger
(
'
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