From 217e13a11b48f36808b547c3e86f94e721e9c0a6 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 29 Dec 2016 15:50:18 -0800 Subject: [PATCH] hook up animation toggle --- docs/assets/js/src/application.js | 5 +++++ 1 file changed, 5 insertions(+) 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
'