Fix confirmation box text for network removal in client
This PR will make the text inside confirmation box for network removal in client more correct. Earlier it said "Disconnect from", but in reality it disconnects and remove the network entierly. The js code may be utterly wrong. If so, please help.
This commit is contained in:
parent
82a570bf20
commit
d3725937ef
@ -169,7 +169,7 @@ function closeChan(chan) {
|
||||
cmd = "/quit";
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user