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
6393a78b
Commit
6393a78b
authored
11 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
fixes #9279
parent
b4081e6c
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/js/bootstrap.js
+3
-5
dist/js/bootstrap.js
dist/js/bootstrap.min.js
+1
-1
dist/js/bootstrap.min.js
js/modal.js
+3
-5
js/modal.js
with
7 additions
and
11 deletions
+7
-11
dist/js/bootstrap.js
+
3
-
5
View file @
6393a78b
...
...
@@ -1059,11 +1059,9 @@ if (!jQuery) { throw new Error("Bootstrap requires jQuery") }
})
})
$
(
function
()
{
var
$body
=
$
(
document
.
body
)
.
on
(
'
shown.bs.modal
'
,
'
.modal
'
,
function
()
{
$body
.
addClass
(
'
modal-open
'
)
})
.
on
(
'
hidden.bs.modal
'
,
'
.modal
'
,
function
()
{
$body
.
removeClass
(
'
modal-open
'
)
})
})
$
(
document
)
.
on
(
'
shown.bs.modal
'
,
'
.modal
'
,
function
()
{
$
(
document
.
body
).
addClass
(
'
modal-open
'
)
})
.
on
(
'
hidden.bs.modal
'
,
'
.modal
'
,
function
()
{
$
(
document
.
body
).
removeClass
(
'
modal-open
'
)
})
}(
window
.
jQuery
);
...
...
This diff is collapsed.
Click to expand it.
dist/js/bootstrap.min.js
+
1
-
1
View file @
6393a78b
This diff is collapsed.
Click to expand it.
js/modal.js
+
3
-
5
View file @
6393a78b
...
...
@@ -237,10 +237,8 @@
})
})
$
(
function
()
{
var
$body
=
$
(
document
.
body
)
.
on
(
'
shown.bs.modal
'
,
'
.modal
'
,
function
()
{
$body
.
addClass
(
'
modal-open
'
)
})
.
on
(
'
hidden.bs.modal
'
,
'
.modal
'
,
function
()
{
$body
.
removeClass
(
'
modal-open
'
)
})
})
$
(
document
)
.
on
(
'
shown.bs.modal
'
,
'
.modal
'
,
function
()
{
$
(
document
.
body
).
addClass
(
'
modal-open
'
)
})
.
on
(
'
hidden.bs.modal
'
,
'
.modal
'
,
function
()
{
$
(
document
.
body
).
removeClass
(
'
modal-open
'
)
})
}(
window
.
jQuery
);
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