panels: Replace deprecated jQuery event trigger shorthand.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-05-19 17:37:42 -07:00 committed by Tim Abbott
parent 7c38a0c1f0
commit c09da2abdf
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
});
}