]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Sync code shown with code actually used
authorHeiko Jansen <heikojansen@users.noreply.github.com>
Wed, 24 May 2017 14:32:36 +0000 (16:32 +0200)
committerGitHub <noreply@github.com>
Wed, 24 May 2017 14:32:36 +0000 (16:32 +0200)
Remove class and attributes from buttons which are not expected to trigger dropdowns.
Code used to render the examples is correct but code shown was not.

docs/components/dropdowns.md

index 13f49a32f43cc50d49f731351232e259ad5567b9..24cabbf9a4cd4ff0237434812ef1bc07dd7d04e8 100644 (file)
@@ -323,7 +323,7 @@ Button dropdowns work with buttons of all sizes, including default and split dro
   </div>
 </div>
 <div class="btn-group">
-  <button class="btn btn-secondary btn-lg dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+  <button class="btn btn-secondary btn-lg" type="button">
     Large button
   </button>
   <button type="button" class="btn btn-lg btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
@@ -344,7 +344,7 @@ Button dropdowns work with buttons of all sizes, including default and split dro
   </div>
 </div>
 <div class="btn-group">
-  <button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+  <button class="btn btn-secondary btn-sm" type="button">
     Small button
   </button>
   <button type="button" class="btn btn-sm btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">