justintadlock/saga — pull request #5 by jayj (2014-12-09 08:50:06+00:00)
Title: Stop the menu slide animation when clicking the button multiple times

Clicking the menu toggle button many times in a row causes a queue build up, where the menu just slides up and down till it's done.

This PR adds `.stop()` before `.slideToggle()`

> "When `.stop()` is called on an element, the currently-running animation (if any) is immediately stopped" - http://api.jquery.com/stop/