Fix prettier breaking eslint-disable for confirm

This commit is contained in:
Alistair McKinlay 2019-07-17 16:53:34 +01:00
parent 2fbdbead55
commit cc7b4e4817

View File

@ -152,8 +152,8 @@ function closeChan(chan) {
cmd = "/quit";
const server = chan.find(".name").html();
// eslint-disable-next-line no-alert
if (!confirm(`Are you sure you want to remove ${server}?`)) {
// eslint-disable-line no-alert
return false;
}
}