mirror of https://github.com/zulip/zulip.git
support: Move eslint-disable comment to Prettier-compatible position.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
569b38fe34
commit
67773bc834
|
@ -3,7 +3,8 @@ $(() => {
|
|||
e.preventDefault();
|
||||
const string_id = $(this).data("string-id");
|
||||
const message = 'Do you really want to scrub the realm "' + string_id + '"? This action is irreversible.';
|
||||
if (confirm(message)) { // eslint-disable-line no-alert
|
||||
// eslint-disable-next-line no-alert
|
||||
if (confirm(message)) {
|
||||
this.form.submit();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue