mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1454262 - Regression: Search Bar highlight via cursor down/up keys is no longer possible r=Mardak
MozReview-Commit-ID: KS8KAG1WU76 --HG-- extra : rebase_source : a7eaaa4581b50b8704bfefdbe538ce3f609c7c78
This commit is contained in:
parent
6ce889bcd3
commit
b7574c6126
@ -51,7 +51,7 @@ function ContentSearchUIController(inputElement, tableParent, healthReportKey,
|
||||
this.input.setAttribute("aria-controls", tableID);
|
||||
tableParent.appendChild(this._makeTable(tableID));
|
||||
|
||||
this.input.addEventListener("keypress", this);
|
||||
this.input.addEventListener("keydown", this);
|
||||
this.input.addEventListener("input", this);
|
||||
this.input.addEventListener("focus", this);
|
||||
this.input.addEventListener("blur", this);
|
||||
@ -301,7 +301,7 @@ ContentSearchUIController.prototype = {
|
||||
this._updateSearchWithHeader();
|
||||
},
|
||||
|
||||
_onKeypress(event) {
|
||||
_onKeydown(event) {
|
||||
let selectedIndexDelta = 0;
|
||||
let selectedSuggestionDelta = 0;
|
||||
let selectedOneOffDelta = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user