Commit a7253208 authored by Randall Leeds's avatar Randall Leeds

Don't search empty queries

parent f45782c8
......@@ -239,6 +239,7 @@ class App
$scope.search = (searchCollection) ->
return unless annotator.discardDrafts()
return unless searchCollection.models.length
matched = []
query =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment