Fix prettier breaking eslint-disable for confirm
This commit is contained in:
parent
2fbdbead55
commit
cc7b4e4817
@ -152,8 +152,8 @@ function closeChan(chan) {
|
|||||||
cmd = "/quit";
|
cmd = "/quit";
|
||||||
const server = chan.find(".name").html();
|
const server = chan.find(".name").html();
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-alert
|
||||||
if (!confirm(`Are you sure you want to remove ${server}?`)) {
|
if (!confirm(`Are you sure you want to remove ${server}?`)) {
|
||||||
// eslint-disable-line no-alert
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user