mirror of https://github.com/Jackett/Jackett
custom.js: prevent null.trim error resolves #5000
This commit is contained in:
parent
8051e87d2a
commit
a61991fcdb
|
@ -1229,7 +1229,7 @@ function bindUIButtons() {
|
|||
}
|
||||
|
||||
function proxyWarning(input) {
|
||||
if (input.trim() != "")
|
||||
if (input && input.trim() != "")
|
||||
$('#proxy-warning').show();
|
||||
else
|
||||
$('#proxy-warning').hide();
|
||||
|
|
Loading…
Reference in New Issue