2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

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

https://github.com/twbs/bootlint/wiki/W007
This commit is contained in:
Herst
2017-10-03 03:59:37 +02:00
committed by Mark Otto
parent 0c03b70bcb
commit aae11ab6ab
4 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -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">