diff options
| author | Julien Déramond <[email protected]> | 2022-07-06 07:43:38 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-06 07:43:38 +0200 |
| commit | 6cf72530ed31bc69ed9fa6168bb7629a48cf8884 (patch) | |
| tree | 9f26f05c9b84967fd4b574f903247b948cc3e941 /site/assets/js | |
| parent | 22c7503c887b016c4cf3b118a73b00881619b6d6 (diff) | |
| download | bootstrap-6cf72530ed31bc69ed9fa6168bb7629a48cf8884.tar.xz bootstrap-6cf72530ed31bc69ed9fa6168bb7629a48cf8884.zip | |
Docs: add indeterminate disabled checkbox example (#36674)
Diffstat (limited to 'site/assets/js')
| -rw-r--r-- | site/assets/js/snippets.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/site/assets/js/snippets.js b/site/assets/js/snippets.js index 66ef949f7..640ff85c5 100644 --- a/site/assets/js/snippets.js +++ b/site/assets/js/snippets.js @@ -102,7 +102,9 @@ // Indeterminate checkbox example in docs and StackBlitz document.querySelectorAll('.bd-example-indeterminate [type="checkbox"]') .forEach(checkbox => { - checkbox.indeterminate = true + if (checkbox.id.includes('Indeterminate')) { + checkbox.indeterminate = true + } }) // ------------------------------- |
