1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 05:03:16 +02:00

docs: remove duplicate code for indeterminate (#30471)

This commit is contained in:
XhmikosR
2020-03-28 11:41:03 +02:00
committed by GitHub
parent 7ce29d75f3
commit c0efceb6d5
2 changed files with 1 additions and 11 deletions

View File

@@ -19,16 +19,6 @@
return [].slice.call(list)
}
(function () {
var checkbox = document.getElementById('flexCheckIndeterminate')
if (!checkbox) {
return
}
checkbox.indeterminate = true
})()
makeArray(document.querySelectorAll('.js-sidenav-group'))
.forEach(function (sidenavGroup) {
var groupHasLinks = Boolean(sidenavGroup.querySelector('li'))