From: Richard Worth Date: Thu, 5 Jun 2008 11:59:32 +0000 (+0000) Subject: removed setting toElement/fromEelement as this is handled by the browser X-Git-Tag: 1.5.1~199 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1c8b0873657060b10a9e4206c1ee490ebbf1013;p=jquery-ui.git removed setting toElement/fromEelement as this is handled by the browser --- 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);