proofed the SearchView's runSearch
This commit is contained in:
parent
2855d2a402
commit
44c84b3689
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ module.exports = class SearchView extends View
|
||||||
searchInput.focus()
|
searchInput.focus()
|
||||||
|
|
||||||
runSearch: =>
|
runSearch: =>
|
||||||
|
return if @destroyed
|
||||||
term = @$el.find('input#search').val()
|
term = @$el.find('input#search').val()
|
||||||
return if @sameSearch(term)
|
return if @sameSearch(term)
|
||||||
@removeOldSearch()
|
@removeOldSearch()
|
||||||
|
|
Reference in a new issue