From: XhmikosR Date: Sat, 21 Aug 2021 03:54:53 +0000 (+0300) Subject: Progress page: remove toggle animation button (#34787) X-Git-Tag: v5.1.1~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e1d81a851cac268ca70e95d62c3e968e7293b41;p=thirdparty%2Fbootstrap.git Progress page: remove toggle animation button (#34787) We don't use the same approach with a button on the Placeholders page. --- diff --git a/site/assets/js/application.js b/site/assets/js/application.js index 7981d4fcfb..dd9162e40f 100644 --- a/site/assets/js/application.js +++ b/site/assets/js/application.js @@ -117,17 +117,6 @@ }) } - // Activate animated progress bar - var btnToggleAnimatedProgress = document.getElementById('btnToggleAnimatedProgress') - if (btnToggleAnimatedProgress) { - btnToggleAnimatedProgress.addEventListener('click', function () { - btnToggleAnimatedProgress.parentNode - .querySelector('.progress-bar-striped') - .classList - .toggle('progress-bar-animated') - }) - } - // Insert copy to clipboard button before .highlight var btnHtml = '
' document.querySelectorAll('div.highlight') diff --git a/site/content/docs/5.1/components/progress.md b/site/content/docs/5.1/components/progress.md index 1b59dc97ad..fccd546c60 100644 --- a/site/content/docs/5.1/components/progress.md +++ b/site/content/docs/5.1/components/progress.md @@ -123,20 +123,11 @@ Add `.progress-bar-striped` to any `.progress-bar` to apply a stripe via CSS gra The striped gradient can also be animated. Add `.progress-bar-animated` to `.progress-bar` to animate the stripes right to left via CSS3 animations. -
-
-
-
- -
- -```html +{{< example >}}
-``` +{{< /example >}} ## Sass