mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 14:38:46 +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
@@ -1,6 +1,6 @@
|
||||
$(() => {
|
||||
$(".portico-header li.logout").on("click", () => {
|
||||
$("#logout_form").submit();
|
||||
$("#logout_form").trigger("submit");
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user