From: dmethvin Date: Tue, 29 Jun 2010 03:21:59 +0000 (-0400) Subject: Don't copy event.originalTarget, it's a Netscape-specific property. Fixes #2814. X-Git-Tag: 1.4.3rc1~57 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=69994211b078b8711220eaef33cc1bd6a63c5772;p=jquery.git Don't copy event.originalTarget, it's a Netscape-specific property. Fixes #2814. --- diff --git a/src/event.js b/src/event.js index e667ddbdc..fb78bfeed 100644 --- a/src/event.js +++ b/src/event.js @@ -429,7 +429,7 @@ jQuery.event = { return event.result; }, - props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), + props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), fix: function( event ) { if ( event[ jQuery.expando ] ) {