Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site/docs/4.3/components/forms.md5
1 files changed, 2 insertions, 3 deletions
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
</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