mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 14:13:06 +02:00
Progress page: remove toggle animation button (#34787)
We don't use the same approach with a button on the Placeholders page.
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user