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 (#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
+2 -2
View File
@@ -32,7 +32,7 @@ The following example shows how the clearfix can be used. Without the clearfix t
{% example html %}
<div class="bg-info clearfix">
<button class="btn btn-secondary float-left">Example Button floated left</button>
<button class="btn btn-secondary float-right">Example Button floated right</button>
<button type="button" class="btn btn-secondary float-left">Example Button floated left</button>
<button type="button" class="btn btn-secondary float-right">Example Button floated right</button>
</div>
{% endexample %}