0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Add JS to fix indeterminate checkbox example in docs

Fixes #17196
Closes #17510
This commit is contained in:
Corbzilla 2015-09-07 15:28:42 +00:00 committed by Chris Rebert
parent 9a61cfb3d1
commit 2dce4740cf

View File

@ -28,6 +28,9 @@
$('.tooltip-test').tooltip()
$('.popover-test').popover()
// Indeterminate checkbox example
$('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true)
// Disable empty links in docs examples
$('.bd-example [href=#]').click(function (e) {
e.preventDefault()