From f0245900e4fd660928beea3260fcee55b2146cd7 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 1 Apr 2019 12:49:03 +1300 Subject: [PATCH] Revert "custom.js: prevent null.trim error resolves #5000" This reverts commit a61991fcdb059995e6b5f3566637cb44357d6c45. --- src/Jackett.Common/Content/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Content/custom.js b/src/Jackett.Common/Content/custom.js index a56798638..295b960d2 100644 --- a/src/Jackett.Common/Content/custom.js +++ b/src/Jackett.Common/Content/custom.js @@ -1229,7 +1229,7 @@ function bindUIButtons() { } function proxyWarning(input) { - if (input && input.trim() != "") + if (input.trim() != "") $('#proxy-warning').show(); else $('#proxy-warning').hide();