From: XhmikosR Date: Wed, 20 Feb 2019 12:48:49 +0000 (+0200) Subject: forms.md: remove jQuery from snippet. X-Git-Tag: v5.0.0-alpha1~1257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d964650eefe015c96b3bdf35c8e172ead0314c1;p=thirdparty%2Fbootstrap.git forms.md: remove jQuery from snippet. --- diff --git a/site/docs/4.3/components/forms.md b/site/docs/4.3/components/forms.md index 828bffca97..a3ad78e7af 100644 --- a/site/docs/4.3/components/forms.md +++ b/site/docs/4.3/components/forms.md @@ -1164,10 +1164,9 @@ Custom checkboxes can also utilize the `:indeterminate` pseudo class when manual -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