mirror of
https://github.com/jquery/jquery.git
synced 2026-02-15 10:45:08 -05:00
Fix #10375. Don't put type in jQuery.event.props
It's already set in jQuery.Event, and copying it can clobber values set by the caller, e.g., the UI widget factory.
This commit is contained in:
@@ -467,7 +467,7 @@ jQuery.event = {
|
||||
|
||||
// Includes some event props shared by KeyEvent and MouseEvent
|
||||
// *** attrChange attrName relatedNode srcElement are not normalized, non-W3C, deprecated, will be removed in 1.8 ***
|
||||
props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp type view which".split(" "),
|
||||
props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
|
||||
|
||||
propHooks: {},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user