Merge pull request #2715 from christer88/christer88-network-remove-confirmation-text
Fix confirmation box text for network removal in client
This commit is contained in:
commit
d67a4244b2
@ -169,7 +169,7 @@ function closeChan(chan) {
|
|||||||
cmd = "/quit";
|
cmd = "/quit";
|
||||||
const server = chan.find(".name").html();
|
const server = chan.find(".name").html();
|
||||||
|
|
||||||
if (!confirm("Disconnect from " + server + "?")) { // eslint-disable-line no-alert
|
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