Bug Tracker

Opened 11 years ago

Closed 11 years ago

#10477 closed bug (fixed)

Unbind removing all handlers, not just the specified one

Reported by: dennisjq Owned by: dmethvin
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:


Not sure if this is a bug or a change in behavior going forward, but in a nutshell calling 'unbind' and specifying a specific handler to unbind used to only unbind that handler -- now it seems to be removing all handlers.

Try the following fiddle with jQuery edge/git and jQuery 1.6.4


Change History (2)

comment:1 Changed 11 years ago by dmethvin

Owner: set to dmethvin
Status: newassigned

That's a bug, thanks for reporting it! It should be fixed in 1.7b2.

comment:2 Changed 11 years ago by Dave Methvin

Resolution: fixed
Status: assignedclosed

Fixes #10477. Get .off(type, null, fn) right.

Changeset: 6afc2c074bec5c19063c8f8ebca6bfb53c7d4cef

Note: See TracTickets for help on using tickets.