Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_popover: Use e.key instead of deprecated e.which.
Priyank Patel90bd3e9123c0
diff --git a/static/js/stream_popover.js b/static/js/stream_popover.jsindex ce52409c77d..2df5c6d433f 100644--- a/static/js/stream_popover.js+++ b/static/js/stream_popover.js@@ -407,7 +407,7 @@ export function register_click_handlers() {// and thus don't want to kill the natural bubbling of event.e.preventDefault();- if (e.type === "keypress" && e.which !== 13) {+ if (e.type === "keypress" && e.key !== "Enter") {return;}const stream_name = stream_data.maybe_get_stream_name(