diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/autocomplete.js b/misc/autocomplete.js index 506b9cf18..ffbbe1f00 100644 --- a/misc/autocomplete.js +++ b/misc/autocomplete.js @@ -115,7 +115,7 @@ Drupal.jsAC.prototype.selectDown = function () { if (this.selected && this.selected.nextSibling) { this.highlight(this.selected.nextSibling); } - else { + else if (this.popup) { var lis = $('li', this.popup); if (lis.size() > 0) { this.highlight(lis.get(0)); |