]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add type to buttons in tooltip-viewport example
authorHeinrich Fenkart <hnrch02@gmail.com>
Thu, 25 Sep 2014 22:14:48 +0000 (00:14 +0200)
committerHeinrich Fenkart <hnrch02@gmail.com>
Thu, 25 Sep 2014 22:14:48 +0000 (00:14 +0200)
docs/examples/tooltip-viewport/index.html

index 4a0c5e1daf32e8e3f811b9547e8092b01c5e9a8f..d25a6af4c0415d84e00e7d4d858f2e0c86883e49 100644 (file)
 
   <body>
 
-    <button class="btn btn-default pull-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
-    <button class="btn btn-default tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
-    <button class="btn btn-default tooltip-right" title="This should be shifted down">Shift Down</button>
+    <button type="button" class="btn btn-default pull-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
+    <button type="button" class="btn btn-default tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
+    <button type="button" class="btn btn-default tooltip-right" title="This should be shifted down">Shift Down</button>
 
-    <button class="btn btn-default tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button>
+    <button type="button" class="btn btn-default tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button>
 
     <div class="container-viewport">
-      <button class="btn btn-default tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
-      <button class="btn btn-default tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
+      <button type="button" class="btn btn-default tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
+      <button type="button" class="btn btn-default tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
 
-      <button class="btn btn-default pull-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
+      <button type="button" class="btn btn-default pull-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
 
-      <button class="btn btn-default tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
+      <button type="button" class="btn btn-default tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
     </div>