r=brendan, sr=bz event.button in a mouse move should be 0 to maintain compatibility with older browsers this went on the trunk and 1.8.0 - forgot 1.8 git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194408 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -181,7 +181,7 @@ nsDOMMouseEvent::GetButton(PRUint16* aButton)
|
||||
break;
|
||||
default:
|
||||
// This event doesn't have a mouse button associated with it
|
||||
*aButton = (PRUint16)-1;
|
||||
*aButton = (PRUint16)0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user