mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +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
@@ -1,5 +1,5 @@
|
||||
let csrf_token;
|
||||
$(function () {
|
||||
$(() => {
|
||||
// This requires that we used Jinja2's {% csrf_input %} somewhere on the page.
|
||||
const csrf_input = $('input[name="csrfmiddlewaretoken"]');
|
||||
if (csrf_input.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user