mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1200322 - Fix a11y problem around key navigation in the urlbar. r=Mossop
This commit is contained in:
parent
8af6780893
commit
fc8eb57231
@ -193,8 +193,9 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
case KeyEvent.DOM_VK_LEFT:
|
||||
case KeyEvent.DOM_VK_RIGHT:
|
||||
case KeyEvent.DOM_VK_HOME:
|
||||
this.popup.hidePopup();
|
||||
return;
|
||||
// Reset the selected index so that nsAutoCompleteController
|
||||
// simply closes the popup without trying to fill anything.
|
||||
this.popup.selectedIndex = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user