mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-12-22 13:13:48 +01:00
Added mouse position info link in comments
This commit is contained in:
parent
b2fd2a2f77
commit
d156dc9902
@ -20,6 +20,7 @@
|
||||
_x = e.offsetX;
|
||||
_y = e.offsetY;
|
||||
} else {
|
||||
// http://www.quirksmode.org/mobile/tableViewport_desktop.html#t11
|
||||
var offset = $(element).offset();
|
||||
_x = e.pageX - offset.left;
|
||||
_y = e.pageY - offset.top;
|
||||
|
Loading…
Reference in New Issue
Block a user