mirror of https://github.com/zulip/zulip.git
panels: Replace deprecated jQuery event trigger shorthand.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
7c38a0c1f0
commit
c09da2abdf
|
@ -164,7 +164,7 @@ export function initialize() {
|
|||
$("#panels").on("keyup", ".alert-link[role=button]", function (e) {
|
||||
e.stopPropagation();
|
||||
if (e.key === "Enter") {
|
||||
$(this).click();
|
||||
$(this).trigger("click");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue