mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +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
@@ -144,7 +144,7 @@ exports.watch_manual_resize = function (element) {
|
||||
document.body.addEventListener("mouseup", body_handler);
|
||||
|
||||
return [box_handler, body_handler];
|
||||
}(function (height) {
|
||||
}((height) => {
|
||||
// This callback disables autosize on the textarea. It
|
||||
// will be re-enabled when this component is next opened.
|
||||
autosize.destroy($(element))
|
||||
|
||||
Reference in New Issue
Block a user