mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +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,10 +1,10 @@
|
||||
$(function () {
|
||||
$('.portico-header li.logout').on('click', function () {
|
||||
$(() => {
|
||||
$('.portico-header li.logout').on('click', () => {
|
||||
$('#logout_form').submit();
|
||||
return false;
|
||||
});
|
||||
|
||||
$("body").click(function (e) {
|
||||
$("body").click((e) => {
|
||||
const $this = $(e.target);
|
||||
|
||||
if ($this.closest(".dropdown .dropdown-pill").length > 0 && !$(".dropdown").hasClass("show")) {
|
||||
|
||||
Reference in New Issue
Block a user