New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColorPicker: Firefox compatibility #37

Merged
merged 1 commit into from Mar 4, 2012

Conversation

Projects
None yet
2 participants
@bpierre
Contributor

bpierre commented Mar 3, 2012

No description provided.

return {
x: e.pageX - offset.left
, y: e.pageY - offset.top
};

This comment has been minimized.

@tj

tj Mar 4, 2012

Member

still amazes me that jquery does not abstract this for you

This comment has been minimized.

@bpierre

This comment has been minimized.

@tj

tj Mar 4, 2012

Member

haha shesh.. that's kinda silly, offset{x,y} is what I use the most since I do lots of canvas work

tj added a commit that referenced this pull request Mar 4, 2012

Merge pull request #37 from bpierre/master
ColorPicker: Firefox compatibility

@tj tj merged commit cfef365 into visionmedia:master Mar 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment