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
217e13a1
Commit
217e13a1
authored
8 years ago
by
Mark Otto
Committed by
Mark Otto
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
hook up animation toggle
parent
a0141aa3
9 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!22391
V4 dev
,
!22143
Fix selectable disabled toggle radio buttons
,
!22598
test
,
!25326
Adjust examples
,
!23995
Add back cursor: pointer for .btn-link
,
!23178
Spinner
,
!17021
v4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/assets/js/src/application.js
+5
-0
docs/assets/js/src/application.js
with
5 additions
and
0 deletions
+5
-0
docs/assets/js/src/application.js
+
5
-
0
View file @
217e13a1
...
@@ -48,6 +48,11 @@
...
@@ -48,6 +48,11 @@
$modal
.
find
(
'
.modal-body input
'
).
val
(
recipient
)
$modal
.
find
(
'
.modal-body input
'
).
val
(
recipient
)
})
})
// Activate animated progress bar
$
(
'
.bd-toggle-animated-progress
'
).
on
(
'
click
'
,
function
()
{
$
(
this
).
siblings
(
'
.progress
'
).
find
(
'
.progress-bar-striped
'
).
toggleClass
(
'
progress-bar-animated
'
)
})
// Insert copy to clipboard button before .highlight
// Insert copy to clipboard button before .highlight
$
(
'
.highlight
'
).
each
(
function
()
{
$
(
'
.highlight
'
).
each
(
function
()
{
var
btnHtml
=
'
<div class="bd-clipboard"><span class="btn-clipboard" title="Copy to clipboard">Copy</span></div>
'
var
btnHtml
=
'
<div class="bd-clipboard"><span class="btn-clipboard" title="Copy to clipboard">Copy</span></div>
'
...
...
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