From: Mark Otto Date: Thu, 29 Dec 2016 23:50:18 +0000 (-0800) Subject: hook up animation toggle X-Git-Tag: v4.0.0-alpha.6~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=217e13a11b48f36808b547c3e86f94e721e9c0a6;p=thirdparty%2Fbootstrap.git hook up animation toggle --- diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index fee96113d7..15a6d03fe7 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -48,6 +48,11 @@ $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 $('.highlight').each(function () { var btnHtml = '
Copy
'