Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Stop using deprecated window.event.
evykassirer6d30e3e01cf7
diff --git a/web/third/bootstrap-typeahead/typeahead.js b/web/third/bootstrap-typeahead/typeahead.jsindex 31dd2ead210..53264099577 100644--- a/web/third/bootstrap-typeahead/typeahead.js+++ b/web/third/bootstrap-typeahead/typeahead.js@@ -138,7 +138,7 @@ import {get_string_diff} from "../../src/util";!(function ($) {function get_pseudo_keycode(e) {- const isComposing = (event.originalEvent && event.originalEvent.isComposing) || false;+ const isComposing = (e.originalEvent && e.originalEvent.isComposing) || false;/* We treat IME compose enter keypresses as a separate -13 key. */if (e.keyCode === 13 && isComposing) {return -13;