Revert "custom.js: prevent null.trim error resolves #5000"

This reverts commit a61991fcdb.
This commit is contained in:
Garfield69
2019-04-01 12:49:03 +13:00
parent 4ea6ce6cc2
commit f0245900e4

View File

@@ -1229,7 +1229,7 @@ function bindUIButtons() {
} }
function proxyWarning(input) { function proxyWarning(input) {
if (input && input.trim() != "") if (input.trim() != "")
$('#proxy-warning').show(); $('#proxy-warning').show();
else else
$('#proxy-warning').hide(); $('#proxy-warning').hide();