diff options
author | Richard Worth <rdworth@gmail.com> | 2008-06-05 11:59:32 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-06-05 11:59:32 +0000 |
commit | e1c8b0873657060b10a9e4206c1ee490ebbf1013 (patch) | |
tree | 3f0d295afa30b1c4359026570937402b7ca08939 | |
parent | c97a452ccabfc6ddbc4e1ef9402af270a8b63723 (diff) | |
download | jquery-ui-e1c8b0873657060b10a9e4206c1ee490ebbf1013.tar.gz jquery-ui-e1c8b0873657060b10a9e4206c1ee490ebbf1013.zip |
removed setting toElement/fromEelement as this is handled by the browser
-rw-r--r-- | ui/tests/jquery.simulate.js | 7 |
1 files changed, 0 insertions, 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);
|