diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2018-04-26 17:51:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 17:51:54 +0300 |
commit | b5988a4430138455d2e972fe6302ec089338a6e5 (patch) | |
tree | 3cd1641721cc50e35afc2f4e3073707d7300bfd7 /docs/4.1/components/collapse.md | |
parent | 4bc5cc149a104edda9da7d439c2b45810d180d89 (diff) |
Change accordion example id (#26391)
for clarity/consistency with other similar examples
Diffstat (limited to 'docs/4.1/components/collapse.md')
-rw-r--r-- | docs/4.1/components/collapse.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/4.1/components/collapse.md b/docs/4.1/components/collapse.md index 01ebd52b7a..047423b911 100644 --- a/docs/4.1/components/collapse.md +++ b/docs/4.1/components/collapse.md @@ -72,7 +72,7 @@ Multiple `<button>` or `<a>` can show and hide an element if they each reference Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card/) component, you can extend the default collapse behavior to create an accordion. {% capture example %} -<div class="accordion" id="accordion"> +<div class="accordion" id="accordionExample"> <div class="card"> <div class="card-header" id="headingOne"> <h5 class="mb-0"> @@ -82,7 +82,7 @@ Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card </h5> </div> - <div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion"> + <div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample"> <div class="card-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> @@ -96,7 +96,7 @@ Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card </button> </h5> </div> - <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion"> + <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample"> <div class="card-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> @@ -110,7 +110,7 @@ Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card </button> </h5> </div> - <div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordion"> + <div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample"> <div class="card-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> |