Opened 12 years ago
Closed 12 years ago
#9802 closed bug (wontfix)
preventDefault and stopPropagation should return event
Reported by: | 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 12 years ago by
Component: | unfiled → event |
---|---|
Priority: | undecided → low |
Resolution: | → wontfix |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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