bug 268171 make typeaheadfind use preventDefault instead of stopPropagation so

that other handlers don't try to consume the key
patch by Christian Persch <chpe@gnome.org> r=aaronlev sr=neil
This commit is contained in:
cbiesinger%web.de 2005-09-28 15:34:48 +00:00
parent 4842ea180c
commit ed51da8076

View File

@ -726,7 +726,8 @@ nsTypeAheadFind::KeyPress(nsIDOMEvent* aEvent)
return NS_OK;
}
aEvent->StopPropagation(); // We're using this key, no one else should
// We're using this key, no one else should
aEvent->PreventDefault();
return HandleChar(charCode);
}