]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove # from example data-anchor 8372/head
authorAlex Hanna <tinnvec@gmail.com>
Tue, 8 Mar 2016 20:57:19 +0000 (14:57 -0600)
committerAlex Hanna <tinnvec@gmail.com>
Tue, 8 Mar 2016 20:57:19 +0000 (14:57 -0600)
The # is added by the rest of the script, adding one here causes a js error

docs/pages/sticky.md

index f5753ae39ee424527c0593bd1fae8e790ac34eb4..fae0b001e5dc3913ef6c3a538151ffdd63438545 100644 (file)
@@ -18,7 +18,7 @@ Add the `.sticky` class and `[data-sticky]` to an element to create something th
 
 
 <div class="columns small-6 right" data-sticky-container>
-  <div class="sticky" data-sticky data-anchor="#foo">
+  <div class="sticky" data-sticky data-anchor="foo">
     <img class="thumbnail" src="assets/img/generic/rectangle-3.jpg">
     <!-- This sticky element would stick to the window for the height of the element #foo, with a 1em marginTop -->
   </div>