diff options
Diffstat (limited to 'docs/assets/js/src/application.js')
-rw-r--r-- | docs/assets/js/src/application.js | 6 |
1 files changed, 5 insertions, 1 deletions
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({ |