From 4b970deacd80ddbcb909c42c41d5a566ad8f3e9f Mon Sep 17 00:00:00 2001
From: Brandon Aaron <brandon.aaron@gmail.com>
Date: Wed, 7 May 2008 13:21:16 +0000
Subject: [PATCH] Making sure originalTarget gets copied over from the
 original event object

---
 src/event.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/event.js b/src/event.js
index 8e52081..603cdb9 100644
--- a/src/event.js
+++ b/src/event.js
@@ -284,7 +284,7 @@ jQuery.event = {
 		// and "clone" to set read-only properties
 		var originalEvent = event;
 		event = { originalEvent: originalEvent };
-		var props = "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");
+		var props = "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");
 		for ( var i=props.length; i; i-- )
 			event[ props[i] ] = originalEvent[ props[i] ];
 		
-- 
1.7.10.4