mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
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:
parent
4842ea180c
commit
ed51da8076
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user