Addressed feedback

This commit is contained in:
Phil Hughes 2016-04-18 13:45:26 +01:00
parent 65410e63ac
commit fe3ac403b9

View file

@ -23,14 +23,14 @@ class @ImporterStatus
$('.js-import-all') $('.js-import-all')
.off 'click' .off 'click'
.on 'click', (e) => .on 'click', (e) ->
$btn = $(e.currentTarget) $btn = $(@)
$btn $btn
.disable() .disable()
.addClass 'is-loading' .addClass 'is-loading'
$('.js-add-to-import').each -> $('.js-add-to-import').each ->
$(this).click() $(this).trigger('click')
setAutoUpdate: -> setAutoUpdate: ->
setInterval (=> setInterval (=>