Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3234 closed bug (invalid)

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 (514 bytes) - added by JimmyJam 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by JimmyJam

Attachment: toggle_bug.html added

comment:1 Changed 11 years ago by flesler

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.