mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Add JS to fix indeterminate checkbox example in docs
Fixes #17196 Closes #17510
This commit is contained in:
parent
9a61cfb3d1
commit
2dce4740cf
@ -28,6 +28,9 @@
|
|||||||
$('.tooltip-test').tooltip()
|
$('.tooltip-test').tooltip()
|
||||||
$('.popover-test').popover()
|
$('.popover-test').popover()
|
||||||
|
|
||||||
|
// Indeterminate checkbox example
|
||||||
|
$('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true)
|
||||||
|
|
||||||
// Disable empty links in docs examples
|
// Disable empty links in docs examples
|
||||||
$('.bd-example [href=#]').click(function (e) {
|
$('.bd-example [href=#]').click(function (e) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user