diff options
| author | XhmikosR <[email protected]> | 2021-09-09 15:01:58 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-09 15:01:58 +0300 |
| commit | e961454738f4033eb2be68bde4b257ea9e0a7765 (patch) | |
| tree | 507ca252e706a9c692b133b6e18fb8504c488837 /site/content/docs/5.1/components/dropdowns.md | |
| parent | 86d5d5ea79e8eaa15a28b9da92bbee53036640f6 (diff) | |
| parent | 1df098361cac04217d6a464c80e890c4335ecb5c (diff) | |
| download | bootstrap-main-xmr-docs-render-heading.tar.xz bootstrap-main-xmr-docs-render-heading.zip | |
Merge branch 'main' into main-xmr-docs-render-headingmain-xmr-docs-render-heading
Diffstat (limited to 'site/content/docs/5.1/components/dropdowns.md')
| -rw-r--r-- | site/content/docs/5.1/components/dropdowns.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.1/components/dropdowns.md b/site/content/docs/5.1/components/dropdowns.md index 1668ae7bd..738940fc9 100644 --- a/site/content/docs/5.1/components/dropdowns.md +++ b/site/content/docs/5.1/components/dropdowns.md @@ -628,7 +628,7 @@ Add `.disabled` to items in the dropdown to **style them as disabled**. {{< example >}} <ul class="dropdown-menu"> <li><a class="dropdown-item" href="#">Regular link</a></li> - <li><a class="dropdown-item disabled" href="#" tabindex="-1" aria-disabled="true">Disabled link</a></li> + <li><a class="dropdown-item disabled">Disabled link</a></li> <li><a class="dropdown-item" href="#">Another link</a></li> </ul> {{< /example >}} @@ -1148,7 +1148,7 @@ var dropdown = new bootstrap.Dropdown(element, { <code>getOrCreateInstance</code> </td> <td> - Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialised. + Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: <code>bootstrap.Dropdown.getOrCreateInstance(element)</code> </td> </tr> |
