Added comma to line 48 (#31604)

pull/34817/head
hkRho 2019-02-16 23:23:16 -05:00 committed by Manish Giri
parent 0ced2546ec
commit 86caa14ead
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ The element to collapse must contain the class `.collapse`.
</div>
```
In the example above we use a button and an anchor tag to control a div element. The button and anchor which are the controlling elements need two things, an attribute to specify that the controlling element is for collapsing and another attribute to specify which element it controls (hides or reveals).
In the example above, we use a button and an anchor tag to control a div element. The button and anchor which are the controlling elements need two things, an attribute to specify that the controlling element is for collapsing and another attribute to specify which element it controls (hides or reveals).
They both have a *data-toggle* attribute with the value *collapse* which specify that they are to be used for collapsing an element. The anchor tag uses a *href* attribute to specify the element it controls, while the button uses a *data-target* attribute to specify the element it controls.