mirror of
https://github.com/thelounge/thelounge
synced 2025-02-16 13:18:24 +00:00
Fix prettier breaking eslint-disable for confirm
This commit is contained in:
parent
2fbdbead55
commit
cc7b4e4817
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue