mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +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
@@ -62,12 +62,12 @@ exports.launch = function (conf) {
|
||||
yes_button.html(conf.html_yes_button);
|
||||
|
||||
// Set up handlers.
|
||||
yes_button.on('click', function () {
|
||||
yes_button.on('click', () => {
|
||||
overlays.close_modal('#confirm_dialog_modal');
|
||||
conf.on_click();
|
||||
});
|
||||
|
||||
confirm_dialog.on('hide', function () {
|
||||
confirm_dialog.on('hide', () => {
|
||||
confirm_dialog.remove();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user