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
@@ -128,7 +128,7 @@ exports.activate = function (opts) {
|
||||
const html = render_widgets_tictactoe_widget(widget_data);
|
||||
elem.html(html);
|
||||
|
||||
elem.find("button.tictactoe-square").on('click', function (e) {
|
||||
elem.find("button.tictactoe-square").on('click', (e) => {
|
||||
e.stopPropagation();
|
||||
const str_idx = $(e.target).attr('data-idx');
|
||||
const idx = parseInt(str_idx, 10);
|
||||
|
||||
Reference in New Issue
Block a user