From 972b63a26a8cce9f09b5cb117cb7656cff8aa9ae Mon Sep 17 00:00:00 2001 From: Jordan Humphreys Date: Tue, 19 Mar 2013 08:54:25 -0700 Subject: [PATCH] Update javascript to support auto tabs. --- docs/components/section.html.erb | 4 ++-- scss/foundation/components/_section.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/components/section.html.erb b/docs/components/section.html.erb index e837508b9..186a23df7 100644 --- a/docs/components/section.html.erb +++ b/docs/components/section.html.erb @@ -65,7 +65,7 @@ -
+

Section 1

@@ -316,7 +316,7 @@ $section-bottom-margin: emCalc(20px);

Using the JavaScript

-

You don't need ths JS to create sections with Foundation. The only reason you'll need to include foundation.section.js is if you want to add the ability to close an alert. You'll also need to make sure to include zepto.js and foundation.js above the sections plugin. Above your closing </body> tag include the following line of code and make sure you have the JS in your directory.

+

The only reason you'll need to include foundation.section.js is if you want to add the ability to close an alert. You'll also need to make sure to include zepto.js and foundation.js above the sections plugin. Above your closing </body> tag include the following line of code and make sure you have the JS in your directory.

Read how to install Foundation JavaScript

diff --git a/scss/foundation/components/_section.scss b/scss/foundation/components/_section.scss index fb68d0f4a..9f272bb49 100644 --- a/scss/foundation/components/_section.scss +++ b/scss/foundation/components/_section.scss @@ -210,7 +210,7 @@ $section-bottom-margin: emCalc(20px) !default; .section { @include section; } } - .section-container.tabs { + .section-container.tabs, .section-container.auto { @include section-container(false, tabs); section, -- 2.47.3