aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-06-05 12:08:19 +0000
committerRichard Worth <rdworth@gmail.com>2008-06-05 12:08:19 +0000
commit2dc488c5505928d9ee9c7a41787e41e9e825af14 (patch)
tree1f2fd9f1ae4d1cd1e30ae6dad21125c6abe4a7a7
parente1c8b0873657060b10a9e4206c1ee490ebbf1013 (diff)
downloadjquery-ui-2dc488c5505928d9ee9c7a41787e41e9e825af14.tar.gz
jquery-ui-2dc488c5505928d9ee9c7a41787e41e9e825af14.zip
reverted [157] there is no IE bug. pageX != clientX, pageY != clientY
-rw-r--r--ui/tests/jquery.simulate.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/tests/jquery.simulate.js b/ui/tests/jquery.simulate.js
index 3552cc7d6..26fd2ae36 100644
--- a/ui/tests/jquery.simulate.js
+++ b/ui/tests/jquery.simulate.js
@@ -69,9 +69,6 @@ $.extend($.simulate.prototype, {
// IE won't allow assignment to toElement or fromElement
evt.relatedTarget = relatedTarget;
- // fix for 2 pixels bug from mousecords
- evt.pageX = options.x; evt.pageY = options.y;
-
evt.button = { 0:1, 1:4, 2:2 }[evt.button] || evt.button;
}
return evt;