From e1c8b0873657060b10a9e4206c1ee490ebbf1013 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Thu, 5 Jun 2008 11:59:32 +0000 Subject: [PATCH] removed setting toElement/fromEelement as this is handled by the browser --- ui/tests/jquery.simulate.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ui/tests/jquery.simulate.js b/ui/tests/jquery.simulate.js index c498293dc..3552cc7d6 100644 --- a/ui/tests/jquery.simulate.js +++ b/ui/tests/jquery.simulate.js @@ -62,13 +62,6 @@ $.extend($.simulate.prototype, { e.screenX, e.screenY, e.clientX, e.clientY, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, e.button, relatedTarget); - - // check to see if relatedTarget has been assigned - if (relatedTarget && !evt.relatedTarget) { - if (/^mouseout$/.test(type)) evt.toElement = relatedTarget; - else if (/^mouseover$/.test(type)) evt.fromElement = relatedTarget; - } - } else if (document.createEventObject) { evt = document.createEventObject(); $.extend(evt, e); -- 2.39.5