aboutsummaryrefslogtreecommitdiff
path: root/site/assets/js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-08-21 06:54:53 +0300
committerGitHub <[email protected]>2021-08-21 06:54:53 +0300
commit9e1d81a851cac268ca70e95d62c3e968e7293b41 (patch)
tree62e66e0c5d5bfbb8ec09bb086f3c5494810773e0 /site/assets/js
parent91295c21878ed45977f7cb41af47e9898732f7c3 (diff)
downloadbootstrap-9e1d81a851cac268ca70e95d62c3e968e7293b41.tar.xz
bootstrap-9e1d81a851cac268ca70e95d62c3e968e7293b41.zip
Progress page: remove toggle animation button (#34787)
We don't use the same approach with a button on the Placeholders page.
Diffstat (limited to 'site/assets/js')
-rw-r--r--site/assets/js/application.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/site/assets/js/application.js b/site/assets/js/application.js
index 7981d4fcf..dd9162e40 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 = '<div class="bd-clipboard"><button type="button" class="btn-clipboard" title="Copy to clipboard">Copy</button></div>'
document.querySelectorAll('div.highlight')