]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update tabs.md 10473/head
authorJesse Clark <contact@jessclark.com>
Thu, 27 Jul 2017 20:01:58 +0000 (14:01 -0600)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2017 20:01:58 +0000 (14:01 -0600)
Remove `/tabs/` from the link to Tab 2. Code as is throws JavaScript error, removing this fixes the tabs.

docs/pages/tabs.md

index 0b885f896564a9b67fa86e344d7f557c06c5e47a..26f8b8fa67849900620fade36f357f470aecb443 100644 (file)
@@ -13,7 +13,7 @@ There are two pieces to a tabbed interface: the tabs themselves, and the content
 ```html
 <ul class="tabs" data-tabs id="example-tabs">
   <li class="tabs-title is-active"><a href="#panel1" aria-selected="true">Tab 1</a></li>
-  <li class="tabs-title"><a data-tabs-target="#panel2" href="#/tabs/panel2">Tab 2</a></li>
+  <li class="tabs-title"><a data-tabs-target="#panel2" href="#panel2">Tab 2</a></li>
 </ul>
 ```