Skip to main content

Bug Tracker

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;

Attachments (0)
Change History (3)

Changed July 03, 2012 09:03AM UTC by anonymous comment:1

#edit

event.offsetX = event.offsetX || event.clientX - jQuery(event.target).position().left;
event.offsetY = event.offsetY || event.clientY - jQuery(event.target).position().top;

Changed July 03, 2012 04:17PM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Changed July 03, 2012 04:17PM UTC by dmethvin comment:3

Duplicate of #8523.