Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left_sidebar_mention: Fix mention highlight always visible.
Aman Agrawald8985597e755
diff --git a/web/src/ui_util.ts b/web/src/ui_util.tsindex 564c1e8986b..8b2f0cf95ae 100644--- a/web/src/ui_util.ts+++ b/web/src/ui_util.ts@@ -216,7 +216,7 @@ export function do_new_unread_animation($target: JQuery): void {// and any other effects. Doing so also gives us// very smooth rendering, as no visual properties// get tied to JavaScript's event loop.- $target.on("animationend", (): void => {+ $target.on("animationend, animationcancel", (): void => {$target.removeClass("new-unread");// We remove the transition-managing highlight// some time after the animation has run; how