Unpatched (nightly) version

This is using the jQuery nightly build, and has an issue when attaching multiple toggle handlers to the same element.

In this test, the ".icon.toggle" handler is applied to both elements and toggles the border colour between yellow and green. The first element has an extra toggle handler applied to it to change its background colour.

Click me: I have class "icon" and ID "btn1". My "#bnt1.toggle" handler toggles my background between beige/gray/black.
Click me: I also have class "icon".

With jQuery 1.3.2 and nightly build it does not function correctly:

With the patch it works as expected.

Same test, with patched Toggle function