support: Move eslint-disable comment to Prettier-compatible position.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-07-14 15:33:36 -07:00 committed by Tim Abbott
parent 569b38fe34
commit 67773bc834
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}
});