]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add JS to fix indeterminate checkbox example in docs
authorCorbzilla <jason.ron.corbett@gmail.com>
Mon, 7 Sep 2015 15:28:42 +0000 (15:28 +0000)
committerChris Rebert <code@chrisrebert.com>
Mon, 7 Sep 2015 20:41:45 +0000 (13:41 -0700)
Fixes #17196
Closes #17510

docs/assets/js/src/application.js

index f579b10b2d4c7d9191c196038cba5b774b0adfd1..6d3226d9aa47275f529bb736b276b2fb3b9cedae 100644 (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()