Ctrl+click only sends right click on Mac.

This commit is contained in:
Michael Villar authored and Nicholas Small committed 2010-09-17 12:21:57 -04:00
1 parent 7d855a9c09
commit f7c68736f0
1 file changed
+1 -1
+1 -1
View File
@@ -1213,7 +1213,7 @@ var supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop];
else if (type === "mousedown")
{
var button = aDOMEvent.button;
_mouseDownIsRightClick = button == 2 || (button == 0 && modifierFlags & CPControlKeyMask);
_mouseDownIsRightClick = button == 2 || (CPBrowserIsOperatingSystem(CPMacOperatingSystem) && button == 0 && modifierFlags & CPControlKeyMask);
if (sourceElement.tagName === "INPUT" && sourceElement != _DOMFocusElement)
{