Skip to content
Permalink
Browse files

reverted [158] - IE's default for relatedTarget is undefined, not doc…

…ument
  • Loading branch information
rdworth committed Jun 5, 2008
1 parent 2dc488c commit b0a72dc57517b7b8267378db96a80e697bf1f0e4
Showing with 0 additions and 4 deletions.
  1. +0 −4 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;

0 comments on commit b0a72dc

Please sign in to comment.
You can’t perform that action at this time.