Merge pull request #1254 from rubenvereecken/teeny_weeny_search_fix

proofed the SearchView's runSearch
This commit is contained in:
Scott Erickson 2014-07-04 10:37:37 -07:00
commit f61541d4ba

View file

@ -46,6 +46,7 @@ module.exports = class SearchView extends View
searchInput.focus()
runSearch: =>
return if @destroyed
term = @$el.find('input#search').val()
return if @sameSearch(term)
@removeOldSearch()