aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-09-29 10:34:40 -0400
committerDave Methvin <dave.methvin@gmail.com>2011-09-29 10:34:55 -0400
commit96a44a86d870f2634c82a4148d22d0a07044ba77 (patch)
tree2041eb6638782d085290676fe764af5fb50c4f75 /src/event.js
parent22fcc7744daded0dc0783d85df3bd88c6dbc4544 (diff)
downloadjquery-96a44a86d870f2634c82a4148d22d0a07044ba77.tar.gz
jquery-96a44a86d870f2634c82a4148d22d0a07044ba77.zip
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.
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index 4b4093eda..fba8f817a 100644
--- a/src/event.js
+++ b/src/event.js
@@ -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: {},