Skip to main content

Bug Tracker

Side navigation

#3234 closed bug (invalid)

Opened August 08, 2008 03:44PM UTC

Closed August 08, 2008 10:33PM UTC

Toggle Event Function Unexpected Behavior FF3

Reported by: JimmyJam Owned by:
Priority: major Milestone: 1.3
Component: event Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

I am having an issue with the toggle() event function in FireFox 3. I have not been able to test in other browsers yet, but it is definetly unexpected behavior.

When I supply two functions as arguments, nothing happens on the first call. On the second call it runs the first function and then the second. On the third call, it runs the first function, then the second function, then the first function again. It goes on like this for each subsequent call. I am currently using 1.2.6, but I get the same results using 1.2.7pre, revision 5754.

I have included a test case.

Attachments (1)
  • toggle_bug.html (0.5 KB) - added by JimmyJam August 08, 2008 03:44PM UTC.
Change History (1)

Changed August 08, 2008 10:33PM UTC by flesler comment:1

resolution: → invalid
status: newclosed

On the first click, you're binding the toggle. So only after that, it works.

Check the docs.