From 4ce90c5d36943fc6945feda5da633a2eb5129812 Mon Sep 17 00:00:00 2001 From: bolshoytoster Date: Sat, 31 May 2025 21:00:31 +0100 Subject: [PATCH] Fix lint I hate JS --- src/webui/www/private/scripts/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/scripts/client.js b/src/webui/www/private/scripts/client.js index 6567825f9..f44d4d7fe 100644 --- a/src/webui/www/private/scripts/client.js +++ b/src/webui/www/private/scripts/client.js @@ -958,7 +958,7 @@ window.addEventListener("DOMContentLoaded", (event) => { if (fullUpdate) // re-select previously selected rows torrentsTable.reselectRows(torrentsTableSelectedRows); - } else if (response.status == 403) { + } else if (response.status === 403) { const errorDiv = document.getElementById("error_div"); if (errorDiv) errorDiv.textContent = "QBT_TR(You've been logged out)QBT_TR[CONTEXT=HttpServer]";