]> source.dussan.org Git - jquery-ui.git/commitdiff
reverted [157] there is no IE bug. pageX != clientX, pageY != clientY
authorRichard Worth <rdworth@gmail.com>
Thu, 5 Jun 2008 12:08:19 +0000 (12:08 +0000)
committerRichard Worth <rdworth@gmail.com>
Thu, 5 Jun 2008 12:08:19 +0000 (12:08 +0000)
ui/tests/jquery.simulate.js

index 3552cc7d62a50ca67cfb71f26bae6213049050bf..26fd2ae3653f316ac6276967f296102ae01203c3 100644 (file)
@@ -69,9 +69,6 @@ $.extend($.simulate.prototype, {
                        // IE won't allow assignment to toElement or fromElement\r
                        evt.relatedTarget = relatedTarget;\r
                        \r
-                       // fix for 2 pixels bug from mousecords \r
-                       evt.pageX = options.x; evt.pageY = options.y;\r
-                       \r
                        evt.button = { 0:1, 1:4, 2:2 }[evt.button] || evt.button;\r
                }\r
                return evt;\r