Fix for #2032
This commit is contained in:
parent
9ea8017f86
commit
540f9304a7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue