]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
rm redundant role="button" from <button>
authorChris Rebert <code@rebertia.com>
Mon, 17 Nov 2014 00:34:28 +0000 (16:34 -0800)
committerChris Rebert <code@rebertia.com>
Mon, 17 Nov 2014 00:34:28 +0000 (16:34 -0800)
docs/_includes/js/dropdowns.html

index 2268b578002ee15812a076b5abf14fcbc9cc87eb..c5b646035e4da4d6862dfbd6936b093590594590 100644 (file)
   <p>Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.</p>
 {% highlight html %}
 <div class="dropdown">
-  <button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false">
+  <button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
     Dropdown trigger
     <span class="caret"></span>
   </button>