[JS] Fixed TypeError: textValue is null
This commit is contained in:
parent
c302bca1e6
commit
2ddd357a62
@ -36,7 +36,7 @@ function search() {
|
||||
|
||||
}
|
||||
|
||||
if(textValue != null || uriValue != null) {
|
||||
if(textValue != null && uriValue != null) {
|
||||
|
||||
if(textValue.match(regexMatch) != null ||
|
||||
uriValue.hostname.match(regexMatch) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user