Opened 10 years ago
Closed 10 years ago
#14083 closed bug (notabug)
Assigning multiple handlers to one event in .on()
Reported by: | pesser | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When using .on() to assign multiple handlers to the same event, only the last one gets actually registered. See http://jsfiddle.net/LJr3F/
It does work if we register the handlers one after the other via .on() as done here http://jsfiddle.net/FQN8c/
All versions that are on jsfiddle seem to be affected and I'm running Chromium v28.0.1500.45
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Sorry for being stupid. I better get some sleep. Of course this is not a bug, it's a programming mistake. Please close.