coffeelint cleanup
This commit is contained in:
parent
1597278a43
commit
673716f2e5
1 changed files with 4 additions and 4 deletions
|
@ -133,10 +133,10 @@ class Index extends App.ControllerContent
|
||||||
class: 'form-control--small'
|
class: 'form-control--small'
|
||||||
)
|
)
|
||||||
|
|
||||||
addSearchTerm = () =>
|
addSearchTerm = =>
|
||||||
@searchTerms.push
|
@searchTerms.push
|
||||||
term: ""
|
term: ''
|
||||||
group_id: ""
|
group_id: ''
|
||||||
renderSearchTerms()
|
renderSearchTerms()
|
||||||
content.find('.js-searchTermList [name="search::term"]').last().focus()
|
content.find('.js-searchTermList [name="search::term"]').last().focus()
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ class Index extends App.ControllerContent
|
||||||
@searchTerms.splice(index, 1)
|
@searchTerms.splice(index, 1)
|
||||||
renderSearchTerms()
|
renderSearchTerms()
|
||||||
|
|
||||||
renderSearchTerms = () =>
|
renderSearchTerms = =>
|
||||||
return if !@searchTerms
|
return if !@searchTerms
|
||||||
|
|
||||||
content.find('.js-searchTermList').empty()
|
content.find('.js-searchTermList').empty()
|
||||||
|
|
Loading…
Reference in a new issue