From cc7b4e4817f1c643175670bfcb718b72eb269f75 Mon Sep 17 00:00:00 2001 From: Alistair McKinlay Date: Wed, 17 Jul 2019 16:53:34 +0100 Subject: [PATCH] Fix prettier breaking eslint-disable for confirm --- client/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }