mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 15:51:33 +00:00
r=bzbarsky, sr=brendan event.button in a mouse move should be 0 to maintain compatibility with older browsers
This commit is contained in:
parent
853b266b2f
commit
45f4011af8
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user