Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
Revert "typeahead: Fix bug where typeahead showed momentarily on shift + tab."
N-Shar-mab406cc84ffb0
diff --git a/web/third/bootstrap-typeahead/typeahead.js b/web/third/bootstrap-typeahead/typeahead.jsindex 1971b4d87ad..506755b68ff 100644--- a/web/third/bootstrap-typeahead/typeahead.js+++ b/web/third/bootstrap-typeahead/typeahead.js@@ -439,6 +439,7 @@ import {get_string_diff} from "../../src/util";, keydown: function (e) {const pseudo_keycode = get_pseudo_keycode(e);if (this.trigger_selection(e)) {+ if (!this.shown) return;e.preventDefault();this.select(e);}@@ -473,11 +474,6 @@ import {get_string_diff} from "../../src/util";}break- // to stop typeahead from showing up momentarily- // when shift + tabbing to a field with typeahead- case 16: // shift- return-default:var hideOnEmpty = falseif (e.keyCode === 8 && this.options.helpOnEmptyStrings) { // backspace