mirror of https://github.com/twbs/bootstrap.git
hook up animation toggle
This commit is contained in:
parent
a0141aa38e
commit
217e13a11b
|
@ -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>'
|
||||||
|
|
Loading…
Reference in New Issue