diff --git a/app/views/kinds/SearchView.coffee b/app/views/kinds/SearchView.coffee index 8f7a17420..485fba23b 100644 --- a/app/views/kinds/SearchView.coffee +++ b/app/views/kinds/SearchView.coffee @@ -46,6 +46,7 @@ module.exports = class SearchView extends View searchInput.focus() runSearch: => + return unless @$el term = @$el.find('input#search').val() return if @sameSearch(term) @removeOldSearch()