diff --git a/client/js/utils.js b/client/js/utils.js index 20dbb3b4..2ad4f2b1 100644 --- a/client/js/utils.js +++ b/client/js/utils.js @@ -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; } }