In docs, .modal-footer code is not the same as output
Created by: altbdoor
I am referring to the modal components section of the Bootstrap documentation for v4.
The code example shows:
<div class="modal-footer">
<button type="button" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
And upon inspecting the rendered HTML content, its:
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
Looks like a small mistake on the order of the buttons in the code example?