Side navigation
#12007 closed bug (duplicate)
Opened July 03, 2012 09:02AM UTC
Closed July 03, 2012 04:17PM UTC
Last modified July 03, 2012 04:17PM UTC
missing offsetX and offsetY in firefox
Reported by: | machnikv@live.de | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In firefox are offsetX and offsetY in events undefined.
Bugfix:
Paste into mouseHooks -> filter function (line 3384) befor 'return event;' this to lines:
event.offsetX = event.offsetX || event.clientX - jQuery(event.target).position().left;
event.offsetY = event.offsetY || event.clientY - jQuery(event.target).position().top;
#edit