mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +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
@@ -65,7 +65,7 @@ exports.toggle = function (opts) {
|
||||
}
|
||||
|
||||
if (!opts.child_wants_focus) {
|
||||
elem.focus();
|
||||
elem.trigger("focus");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user