mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
eslint: Enable prefer-arrow-callback.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
960174408f
commit
a79322bc94
@@ -77,7 +77,7 @@ function call(args, idempotent) {
|
||||
if (!data && idempotent) {
|
||||
// If idempotent, retry
|
||||
blueslip.log("Retrying idempotent" + args);
|
||||
setTimeout(function () {
|
||||
setTimeout(() => {
|
||||
const jqXHR = $.ajax(args);
|
||||
add_pending_request(jqXHR);
|
||||
}, 0);
|
||||
|
||||
Reference in New Issue
Block a user