Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9802 closed bug (wontfix)

preventDefault and stopPropagation should return event

Reported by: cwolves@… Owned by:
Priority: low Milestone: None
Component: event Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Description

Not -exactly- a bug, but I think stopPropagation, preventDefault and stopImmediatePropagation should all return the event object to be inline with everything else in jQuery:

ev.stopPropagation().preventDefault();

Change History (1)

comment:1 Changed 8 years ago by Rick Waldron

Component: unfiledevent
Priority: undecidedlow
Resolution: wontfix
Status: newclosed

This change does not match the spec used to define how the jQuery.Event constructor creates even objects.

http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html

Note: See TracTickets for help on using tickets.