1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-30 15:29:06 +02:00

Docs: progress bars' animation now needs to be manually toggled

Refs #14409
This commit is contained in:
Heinrich Fenkart
2014-10-26 06:17:05 +01:00
parent 5eb08f5d8d
commit 66e140db82
2 changed files with 8 additions and 3 deletions

View File

@@ -101,7 +101,7 @@
$('.bs-docs-popover').popover()
// Button state demo
$('#loading-example-btn').click(function () {
$('#loading-example-btn').on('click', function () {
var btn = $(this)
btn.button('loading')
setTimeout(function () {
@@ -109,6 +109,10 @@
}, 3000)
})
// Activate animated progress bar
$('.bs-docs-activate-animated-progressbar').on('click', function () {
$(this).siblings('.progress').find('.progress-bar-striped').toggleClass('active')
})
// Config ZeroClipboard
ZeroClipboard.config({