0
0
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:
peteruithoven 2014-01-10 17:23:58 +01:00
parent b2fd2a2f77
commit d156dc9902

View File

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