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:
authorXhmikosR <xhmikosr@gmail.com>2019-02-20 15:48:49 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-02-20 23:05:45 +0300
commit7d964650eefe015c96b3bdf35c8e172ead0314c1 (patch)
tree15487242454dc05a81fb329971789f396be0d804 /site/docs/4.3
parentfee11fd7ae278baed6ca09caf7d5a83c40d1c23a (diff)
forms.md: remove jQuery from snippet.
Diffstat (limited to 'site/docs/4.3')
-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