]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
forms.md: remove jQuery from snippet.
authorXhmikosR <xhmikosr@gmail.com>
Wed, 20 Feb 2019 12:48:49 +0000 (14:48 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 20 Feb 2019 20:05:45 +0000 (22:05 +0200)
site/docs/4.3/components/forms.md

index 828bffca9774f1d00070d8cf2076a7296137cb48..a3ad78e7af1f71a9275adf098aa3be16f7730c2c 100644 (file)
@@ -1164,10 +1164,9 @@ Custom checkboxes can also utilize the `:indeterminate` pseudo class when manual
   </div>
 </div>
 
-If you're using jQuery, something like this should suffice:
-
 {% highlight js %}
-$('.your-checkbox').prop('indeterminate', true)
+var checkbox = document.querySelector('.your-checkbox')
+checkbox.indeterminate = true
 {% endhighlight %}
 
 #### Radios