Skip to main content

Bug Tracker

Side navigation

#14083 closed bug (notabug)

Opened June 30, 2013 10:11AM UTC

Closed June 30, 2013 01:19PM UTC

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

Attachments (0)
Change History (2)

Changed June 30, 2013 10:19AM UTC by pesser comment:1

Sorry for being stupid. I better get some sleep.

Of course this is not a bug, it's a programming mistake.

Please close.

Changed June 30, 2013 01:19PM UTC by scottgonzalez comment:2

resolution: → notabug
status: newclosed