aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/examples
diff options
context:
space:
mode:
authorHerst <[email protected]>2017-10-03 03:59:37 +0200
committerMark Otto <[email protected]>2017-10-02 18:59:37 -0700
commitaae11ab6aba1f2ededd591853f0c0294b32a81a4 (patch)
tree94426c343eb74bb625558421e9b66e7321c390a7 /docs/4.0/examples
parent0c03b70bcb81ebb83eb41bf3b561a3b2106ec76f (diff)
downloadbootstrap-aae11ab6aba1f2ededd591853f0c0294b32a81a4.tar.xz
bootstrap-aae11ab6aba1f2ededd591853f0c0294b32a81a4.zip
Added type="button" to <button>s without any type (#23866)
https://github.com/twbs/bootlint/wiki/W007
Diffstat (limited to 'docs/4.0/examples')
-rw-r--r--docs/4.0/examples/tooltip-viewport/index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/4.0/examples/tooltip-viewport/index.html b/docs/4.0/examples/tooltip-viewport/index.html
index a74317911..88e555036 100644
--- a/docs/4.0/examples/tooltip-viewport/index.html
+++ b/docs/4.0/examples/tooltip-viewport/index.html
@@ -18,19 +18,19 @@
<body>
- <button class="btn btn-secondary float-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
- <button class="btn btn-secondary tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
- <button class="btn btn-secondary tooltip-right" title="This should be shifted down">Shift Down</button>
+ <button type="button" class="btn btn-secondary float-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
+ <button type="button" class="btn btn-secondary tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
+ <button type="button" class="btn btn-secondary tooltip-right" title="This should be shifted down">Shift Down</button>
- <button class="btn btn-secondary tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button>
+ <button type="button" class="btn btn-secondary tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button>
<div class="container-viewport">
- <button class="btn btn-secondary tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
- <button class="btn btn-secondary tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
+ <button type="button" class="btn btn-secondary tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
+ <button type="button" class="btn btn-secondary tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
- <button class="btn btn-secondary float-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
+ <button type="button" class="btn btn-secondary float-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
- <button class="btn btn-secondary tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
+ <button type="button" class="btn btn-secondary tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
</div>