Bug 400935: Opening the identity box shouldn't select the address, patch by Dão Gottwald <dao@mozilla.com>, r=me

This commit is contained in:
gavin@gavinsharp.com 2007-11-06 10:48:58 -08:00
parent edfbaf40e0
commit c8e6f167bf

View File

@ -5856,6 +5856,8 @@ IdentityHandler.prototype = {
* Click handler for the identity-box element in primary chrome.
*/
handleIdentityClick : function(event) {
event.stopPropagation();
if (event.button != 0)
return; // We only want left-clicks