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

This commit is contained in:
Richard Worth
2008-06-05 12:08:19 +00:00
parent e1c8b08736
commit 2dc488c550

View File

@@ -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;