Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
click_handlers: Use e.button instead of deceprated e.which.
Priyank Patel5fdcf7b53446
diff --git a/static/js/click_handlers.js b/static/js/click_handlers.jsindex 966c3a1a364..d2f8ca54ac8 100644--- a/static/js/click_handlers.js+++ b/static/js/click_handlers.js@@ -758,7 +758,7 @@ export function initialize() {// Don't focus links on middle click.$("body").on("mouseup", "a", (e) => {- if (e.which === 2) {+ if (e.button === 1) {// middle clicke.target.blur();}