[bug] fix auto suggest keybaord navigation

This commit is contained in:
zombieFox 2019-11-25 01:20:36 +00:00
parent cf90b84895
commit 80743d174a

View File

@ -50,7 +50,7 @@ var autoSuggest = (function() {
bind.navigateResults = function(event) {
var elementToFocus = null;
var focusIndex = null;
var allSuggestItems = helper.eA(".auto-suggest-link");
var allSuggestItems = helper.eA(".auto-suggest-item");
var _findInput = function() {
if (event.target.classList.contains("auto-suggest-input")) {
_currentInputOptions.input = event.target;