rstacruz/jquery.transit — pull request #157 by tomhicks (2013-09-10 11:19:34+00:00)
Title: Fix issue with child completions bubbling up to parent

When using transitionEnd, if you kick off a transition of a child and a parent and the child transition finishes before the parent, the event bubbles up and tells the parent to end prematurely.

By checking whether or not the event target is the current target, you can determine whether or not the event is occurring on the element you actually care about.