diff options
| author | Bardi Harborow <[email protected]> | 2017-02-27 21:42:26 +1100 |
|---|---|---|
| committer | Bardi Harborow <[email protected]> | 2017-02-27 21:51:26 +1100 |
| commit | e8015e3f16e87c5ebaf6b10d9f627a1dc7f8fe65 (patch) | |
| tree | 3d9df2538349da405e6dfa7837e5532ce07435f0 /docs/components | |
| parent | 312522529ccdd9ff98bf95e1e4ec18910406e47e (diff) | |
| download | bootstrap-e8015e3f16e87c5ebaf6b10d9f627a1dc7f8fe65.tar.xz bootstrap-e8015e3f16e87c5ebaf6b10d9f627a1dc7f8fe65.zip | |
Fix broken links.
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/collapse.md | 2 | ||||
| -rw-r--r-- | docs/components/modal.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/components/collapse.md b/docs/components/collapse.md index c269bb382..8942c85a4 100644 --- a/docs/components/collapse.md +++ b/docs/components/collapse.md @@ -40,7 +40,7 @@ You can use a link with the `href` attribute, or a button with the `data-target` ## Accordion example -Using the [card]({{ site.baseurl }}/components/card) component, you can extend the default collapse behavior to create an accordion. +Using the [card]({{ site.baseurl }}/components/card/) component, you can extend the default collapse behavior to create an accordion. {% example html %} <div id="accordion" role="tablist"> diff --git a/docs/components/modal.md b/docs/components/modal.md index 81f917f25..92840058e 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -347,7 +347,7 @@ Utilize the Bootstrap grid system within a modal by nesting `.container-fluid` w ### Varying modal content -Have a bunch of buttons that all trigger the same modal with slightly different contents? Use `event.relatedTarget` and [HTML `data-*` attributes](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes) (possibly [via jQuery](https://api.jquery.com/data/)) to vary the contents of the modal depending on which button was clicked. +Have a bunch of buttons that all trigger the same modal with slightly different contents? Use `event.relatedTarget` and [HTML `data-*` attributes](https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes) (possibly [via jQuery](https://api.jquery.com/data/)) to vary the contents of the modal depending on which button was clicked. Below is a live demo followed by example HTML and JavaScript. For more information, [read the modal events docs](#events) for details on `relatedTarget`. |
