#64 open
AndyNoyes

Event#isRightClick docs need clarification

Reported by AndyNoyes | October 30th, 2009 @ 08:28 PM

In the api docs, http://api.prototypejs.org/dom/event.html it says:

isRightClick #

Event.isRightClick(event) ⇒ Boolean
Event#isRightClick() ⇒ Boolean

Determines whether a button-related mouse event involved the right mouse button.

Keep in mind that the "left" mouse button is actually the "secondary" mouse button. When a mouse is in left-handed mode, the browser will report clicks of the left button as "left-clicks."

However, it should say.......
Keep in mind that the "right" mouse button is actually the "secondary" mouse button. When a mouse is in left-handed mode, the browser will report clicks of the right button as "left-clicks."

Thanks for everything!
-Andy

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Pages