2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Added type="button" to <button>s without any type (#27174)

(again)

https://github.com/twbs/bootlint/wiki/W007
This commit is contained in:
Herst
2018-09-03 17:55:04 +02:00
committed by Patrick H. Lauke
parent fad49e710e
commit 7b9c8e8eb3
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -522,7 +522,7 @@ Our default modal without modifier class constitutes the "medium" size modal.
{% highlight html %}
<!-- Extra large modal -->
<button class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-xl">Extra large modal</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-xl">Extra large modal</button>
<div class="modal fade bd-example-modal-xl" tabindex="-1" role="dialog" aria-labelledby="myExtraLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">