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>
But the output rendered is:

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?
I am referring to the modal components section of the Bootstrap documentation for v4.
The code example shows:
But the output rendered is:

And upon inspecting the rendered HTML content, its:
Looks like a small mistake on the order of the buttons in the code example?