From: Richard Gibson Date: Mon, 14 Jan 2013 01:05:43 +0000 (-0500) Subject: No ticket: sync with master @ b75b9ef8 X-Git-Tag: 1.9.0~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7683d866c87796b1885ea46ec0f7db2e1ef426d;p=jquery.git No ticket: sync with master @ b75b9ef8 --- diff --git a/src/event.js b/src/event.js index 2c319f3e0..6c0dc41ca 100644 --- a/src/event.js +++ b/src/event.js @@ -237,7 +237,6 @@ jQuery.event = { new jQuery.Event( type, typeof event === "object" && event ); event.isTrigger = true; - event.type = type; event.namespace = namespaces.join("."); event.namespace_re = event.namespace ? new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : @@ -467,8 +466,8 @@ jQuery.event = { event.target = originalEvent.srcElement || document; } - // Support: Safari - // Target should not be a text node (#504) + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) if ( event.target.nodeType === 3 ) { event.target = event.target.parentNode; }