]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed incorrect basic dropdown button usage example 5924/head
authorMichael Thessel <michael.thessel@gmx.de>
Sun, 12 Oct 2014 05:53:24 +0000 (19:53 -1000)
committerMichael Thessel <michael.thessel@gmx.de>
Sun, 12 Oct 2014 05:53:24 +0000 (19:53 -1000)
doc/includes/dropdown/examples_dropdown_basic_rendered.html

index e7440a316b9caee425b4973d5f29246f2d034294..2d8555f6f1407ed74d28daf360e7865e3392caff 100644 (file)
@@ -1,12 +1,12 @@
 {{#markdown}}
 ```html
-<button data-dropdown="drop1" aria-controls="drop1" aria-expanded="false">Has Dropdown</button>
+<a data-dropdown="drop1" aria-controls="drop1" aria-expanded="false">Has Dropdown</a>
 <ul id="drop1" class="f-dropdown" data-dropdown-content aria-hidden="true" tabindex="-1">
   <li><a href="#">This is a link</a></li>
   <li><a href="#">This is another</a></li>
   <li><a href="#">Yet another</a></li>
 </ul>
-<button data-dropdown="drop2" aria-controls="drop2" aria-expanded="false">Has Content Dropdown</a>
+<a data-dropdown="drop2" aria-controls="drop2" aria-expanded="false">Has Content Dropdown</a>
 <div id="drop2" data-dropdown-content class="f-dropdown content" aria-hidden="true" tabindex="-1">
   <p>Some text that people will think is awesome! Some text that people will think is awesome! Some text that people will think is awesome!</p>
 </div>