From 66e140db82d367710013707a327c67d67168b3c9 Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Sun, 26 Oct 2014 06:17:05 +0100 Subject: Docs: progress bars' animation now needs to be manually toggled Refs #14409 --- docs/assets/js/src/application.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/assets') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 9cd8ea24d3..571645e5f1 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -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({ -- cgit v1.2.3