title: jQuery + Stop + Callback Functions
body: <p>From what I understand using <code>.stop()</code> will prevent the callback functions to fire, right?</p>
  
  <p>Unfortunately, it seems that this does not work in my current script:</p>
  
  <pre><code>newSubMenu.stop().slideToggle(250, function() {
    newSubMenu.css('visibility', 'visible').addClass('open');
  });
  </code></pre>
  
  <p>The animation now stops when double clicking, but <code>newSubMenu</code> still gets the class <code>open</code> and I cant figure out why.</p>
  
  <p>The goal I am trying to achieve, is to NOT apply the class <code>open</code> until the animation is complete.</p>