Skip to content
Permalink
Browse files

Fix for #2032

  • Loading branch information
brandonaaron committed Dec 11, 2007
1 parent 9ea8017 commit 540f9304a76eae2eec707db3aeb10496201a6ced
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -287,7 +287,7 @@ jQuery.event = {
if ( event.pageX == null && event.clientX != null ) {
var doc = document.documentElement, body = document.body;
event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc.clientLeft || 0);
event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc.clientLeft || 0);
event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc.clientTop || 0);
}

// Add which for key events

0 comments on commit 540f930

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