mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Revert "typeahead: Tab opens typeahead if not open with a non-empty input."
This reverts commit 0e2c509a24.
This commit is contained in:
9
static/third/bootstrap/js/bootstrap.js
vendored
9
static/third/bootstrap/js/bootstrap.js
vendored
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user