r=bzbarsky, sr=brendan
event.button in a mouse move should be 0 to maintain compatibility with older browsers
This commit is contained in:
mkaply%us.ibm.com 2006-01-30 17:04:51 +00:00
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;
}
}