diff options
Diffstat (limited to 'docs/4.0/components/modal.md')
| -rw-r--r-- | docs/4.0/components/modal.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/modal.md b/docs/4.0/components/modal.md index 55c1dbc31..491bd3fb8 100644 --- a/docs/4.0/components/modal.md +++ b/docs/4.0/components/modal.md @@ -422,7 +422,7 @@ Modals have two optional sizes, available via modifier classes to be placed on a {% highlight html %} <!-- Large modal --> -<button class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-lg">Large modal</button> +<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-lg">Large modal</button> <div class="modal fade bd-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> |
