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:
Pavel Djundik 2018-08-24 19:54:39 +03:00 committed by GitHub
commit d67a4244b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}