mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13: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
@@ -143,8 +143,8 @@ exports.activate = function (opts) {
|
||||
return;
|
||||
}
|
||||
|
||||
elem.find(".add-task").val("").focus();
|
||||
elem.find(".add-desc").val("").focus();
|
||||
elem.find(".add-task").val("").trigger("focus");
|
||||
elem.find(".add-desc").val("").trigger("focus");
|
||||
|
||||
const task_exists = task_data.name_in_use(task);
|
||||
if (task_exists) {
|
||||
|
||||
Reference in New Issue
Block a user