Created
September 17, 2010 16:01
-
-
Save michaelvillar/584437 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/AppKit/Platform/DOM/CPPlatformWindow+DOM.j b/AppKit/Platform/DOM/CPPlatformWindow+DOM.j | |
index 3b560a5..8924510 100644 | |
--- a/AppKit/Platform/DOM/CPPlatformWindow+DOM.j | |
+++ b/AppKit/Platform/DOM/CPPlatformWindow+DOM.j | |
@@ -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) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment