From 63401025f6f7bc1a906d07fef1c58eb584875577 Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Fri, 4 Jul 2014 15:13:06 +0200 Subject: [PATCH] proofed the SearchView's runSearch --- app/views/kinds/SearchView.coffee | 1 + 1 file changed, 1 insertion(+) 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()