]> source.dussan.org Git - jquery-ui.git/commitdiff
reverted [158] - IE's default for relatedTarget is undefined, not document
authorRichard Worth <rdworth@gmail.com>
Thu, 5 Jun 2008 12:09:18 +0000 (12:09 +0000)
committerRichard Worth <rdworth@gmail.com>
Thu, 5 Jun 2008 12:09:18 +0000 (12:09 +0000)
ui/tests/jquery.simulate.js

index 26fd2ae3653f316ac6276967f296102ae01203c3..b425d4e6a6cdfe70f32381c2ef98f91eddf6f764 100644 (file)
@@ -65,10 +65,6 @@ $.extend($.simulate.prototype, {
                } else if (document.createEventObject) {\r
                        evt = document.createEventObject();\r
                        $.extend(evt, e);\r
-                       \r
-                       // IE won't allow assignment to toElement or fromElement\r
-                       evt.relatedTarget = relatedTarget;\r
-                       \r
                        evt.button = { 0:1, 1:4, 2:2 }[evt.button] || evt.button;\r
                }\r
                return evt;\r