Skip to content
Permalink
Browse files

reverted [157] there is no IE bug. pageX != clientX, pageY != clientY

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

0 comments on commit 2dc488c

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