docs/components/split-buttons.html.erb in zurb-foundation-4.1.5 vs docs/components/split-buttons.html.erb in zurb-foundation-4.1.6
- old
+ new
@@ -141,11 +141,11 @@
<p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_foundation-global.scss</strong>.</p>
<hr>
<h3>Using the JavaScript</h3>
- <p>You don't need ths JS to create dropdown button styles with Foundation. The only reason you'll need to include <code>foundation.dropdown.js</code> is if you want to add one of our dropdowns to the button. You'll also need to make sure to include <code>zepto.js</code> and <code>foundation.js</code> above the dropdown plugin.</p>
+ <p>You don't need this JS to create dropdown button styles with Foundation. The only reason you'll need to include <code>foundation.dropdown.js</code> is if you want to add one of our dropdowns to the button. You'll also need to make sure to include <code>zepto.js</code> and <code>foundation.js</code> above the dropdown plugin.</p>
<p>Above your closing <code></body></code> tag include the following line of code and make sure you have the JS file in your directory:</p>
<p><a href="../javascript.html" title="How to install Foundation JavaScript">Read how to install Foundation JavaScript</a></p>
<p>Required Foundation Library: <code>foundation.dropdown.js</code></p>
@@ -167,10 +167,10 @@
<p>You'll notice that <code>data-dropdown="drop1"</code> and <code>id="drop1"</code> have similar values. This is what tells the dropdown plugin where to look to find the position to attach the dropdown element to.</p>
<h5>Optional JavaScript Configuration</h5>
- <p>Dropdwon button options can only be passed in during initialization at this time.</p>
+ <p>Dropdown button options can only be passed in during initialization at this time.</p>
<%= code_example "
{
// specify the class used for active sections
activeClass: 'open'