diff options
| author | XhmikosR <[email protected]> | 2019-02-20 14:48:49 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-02-20 22:05:45 +0200 |
| commit | 7d964650eefe015c96b3bdf35c8e172ead0314c1 (patch) | |
| tree | 15487242454dc05a81fb329971789f396be0d804 | |
| parent | fee11fd7ae278baed6ca09caf7d5a83c40d1c23a (diff) | |
| download | bootstrap-7d964650eefe015c96b3bdf35c8e172ead0314c1.tar.xz bootstrap-7d964650eefe015c96b3bdf35c8e172ead0314c1.zip | |
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 828bffca9..a3ad78e7a 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 |
