Revert "typeahead: Tab opens typeahead if not open with a non-empty input."

This reverts commit 0e2c509a24.
This commit is contained in:
Tim Abbott 2018-12-04 13:56:06 -08:00
parent 9ea4f50c1b
commit 3079cf803c
1 changed files with 1 additions and 8 deletions

View File

@ -2026,7 +2026,7 @@
} }
, move: function (e) { , move: function (e) {
if (!this.shown && e.keyCode != 9) return if (!this.shown) return
switch(e.keyCode) { switch(e.keyCode) {
case 9: // tab case 9: // tab
@ -2069,13 +2069,6 @@
break break
case 9: // tab case 9: // tab
if (!this.shown) {
this.lookup()
return
}
this.select(e)
break
case 13: // enter case 13: // enter
if (!this.shown) return if (!this.shown) return
this.select(e) this.select(e)