mirror of https://github.com/zulip/zulip.git
Revert "typeahead: Tab opens typeahead if not open with a non-empty input."
This reverts commit 0e2c509a24
.
This commit is contained in:
parent
9ea4f50c1b
commit
3079cf803c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue