title: .toggle display:none not working
body: <p>I have a basic toggle script and right now when I add the display none and click the button it does not display the content that is hidden. </p>
  
  <p>When I remove the <code>display:none</code> it shows the carat and when I click the button it hides it. I want it to have the reverse effect. I want the caret to be hidden and when I click the button I want it to appear. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(".button").click(function() {
    $("span").toggle();
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.caret {
    display: none;
  }
  .caret:before {
    content: '';
    position: absolute;
    top: 60px;
    left: -20px;
    border-bottom: 25px solid #ffffff;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;ul&gt;
    &lt;li class="button"&gt;&lt;a href="#tabs1"&gt;WHAT'S IN THE BAG&lt;/a&gt;
    &lt;/li&gt;
    &lt;li class="button"&gt;&lt;a href="#tabs3"&gt;PLAYER HISTORY&lt;/a&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  &lt;span class="caret"&gt;&lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>