Closed jbrumwell closed 12 years ago
Good point. It seems as if every special mapping should have a
if(!original) {
return;
}
As relatedTarget
already does.
I fixed it with the snippet I mentioned. Let me know if there are any problems with that.
Fixes pageX, pageY and which for when the original event does not exist and the original value is undefined.
I was working with a jquery plugin that invokes mousemove like so
Since the mousemove handler handles actually mouse movements and this custom event, when calling:
It causes and error "original is undefined" I have not needed the which event but it most likely suffers from the same issue.