From: Richard Worth Date: Thu, 5 Jun 2008 12:09:18 +0000 (+0000) Subject: reverted [158] - IE's default for relatedTarget is undefined, not document X-Git-Tag: 1.5.1~197 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b0a72dc57517b7b8267378db96a80e697bf1f0e4;p=jquery-ui.git reverted [158] - IE's default for relatedTarget is undefined, not document --- diff --git a/ui/tests/jquery.simulate.js b/ui/tests/jquery.simulate.js index 26fd2ae36..b425d4e6a 100644 --- a/ui/tests/jquery.simulate.js +++ b/ui/tests/jquery.simulate.js @@ -65,10 +65,6 @@ $.extend($.simulate.prototype, { } else if (document.createEventObject) { evt = document.createEventObject(); $.extend(evt, e); - - // IE won't allow assignment to toElement or fromElement - evt.relatedTarget = relatedTarget; - evt.button = { 0:1, 1:4, 2:2 }[evt.button] || evt.button; } return evt;