Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

hotkey: Clear message sent success banners too on escape keypress.

Aman Agrawala90fa79bfce9
diff --git a/web/src/hotkey.js b/web/src/hotkey.js
index 2543981f73c..16da45a584d 100644
--- a/web/src/hotkey.js
+++ b/web/src/hotkey.js
@@ -310,6 +310,7 @@ export function process_escape_key(e) {
// Check for errors in compose box; close errors if they exist
if ($(".compose_banner").length) {
+ compose_banner.clear_message_sent_banners();
compose_banner.clear_errors();
compose_banner.clear_warnings();
return true;