mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Clean component examples CSS (#28872)
* Remove unused classes/styles and use utilities instead of specific styles * Use `getElementById` instead of `querySelector`
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
}
|
||||
|
||||
// Activate animated progress bar
|
||||
var btnToggleAnimatedProgress = document.querySelector('.bd-toggle-animated-progress')
|
||||
var btnToggleAnimatedProgress = document.getElementById('btnToggleAnimatedProgress')
|
||||
if (btnToggleAnimatedProgress) {
|
||||
btnToggleAnimatedProgress.addEventListener('click', function () {
|
||||
btnToggleAnimatedProgress.parentNode
|
||||
|
||||
Reference in New Issue
Block a user