diff --git a/static/search.js b/static/search.js index daf32879..788286d8 100644 --- a/static/search.js +++ b/static/search.js @@ -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) ||