mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
js: Replace deprecated jQuery event trigger shorthand.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
4e42137bd9
commit
a9ca5f603b
@@ -411,7 +411,7 @@ function process_notification(notification) {
|
||||
if (message.type !== "test-notification") {
|
||||
narrow.by_topic(message.id, {trigger: "notification"});
|
||||
}
|
||||
window.focus();
|
||||
window.trigger("focus");
|
||||
});
|
||||
notification_object.addEventListener("close", () => {
|
||||
notice_memory.delete(key);
|
||||
|
||||
Reference in New Issue
Block a user