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

This commit is contained in:
Garfield69 2019-04-01 08:35:22 +13:00
parent 8051e87d2a
commit a61991fcdb
1 changed files with 1 additions and 1 deletions

View File

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