]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Updated tabs.md typo for data-tabs-target 10603/head
authorLuke Arentz <lukesven@gmail.com>
Thu, 31 Aug 2017 09:42:27 +0000 (19:42 +1000)
committerGitHub <noreply@github.com>
Thu, 31 Aug 2017 09:42:27 +0000 (19:42 +1000)
Removed # from sample code tab target otherwise the example doesn't work with error "Syntax error, unrecognized expression: ##panel2"

docs/pages/tabs.md

index 26f8b8fa67849900620fade36f357f470aecb443..00e7d5da1e67ab6ce9f85c55349eae89a4e19456 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="#panel2">Tab 2</a></li>
+  <li class="tabs-title"><a data-tabs-target="panel2" href="#panel2">Tab 2</a></li>
 </ul>
 ```