diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-02-20 15:48:49 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-02-20 23:05:45 +0300 |
commit | 7d964650eefe015c96b3bdf35c8e172ead0314c1 (patch) | |
tree | 15487242454dc05a81fb329971789f396be0d804 | |
parent | fee11fd7ae278baed6ca09caf7d5a83c40d1c23a (diff) |
forms.md: remove jQuery from snippet.
-rw-r--r-- | site/docs/4.3/components/forms.md | 5 |
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 |