diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-18 15:45:26 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-18 15:45:26 +0300 |
commit | fe3ac403b97eb8dbe45189ba3737537a536b8956 (patch) | |
tree | 15ad482483d85a731a41bb55fef29185718013e8 /app/assets/javascripts/importer_status.js.coffee | |
parent | 65410e63ac8c2e4e25acabb73ede6a2dfdc3d829 (diff) |
Addressed feedback
Diffstat (limited to 'app/assets/javascripts/importer_status.js.coffee')
-rw-r--r-- | app/assets/javascripts/importer_status.js.coffee | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/importer_status.js.coffee b/app/assets/javascripts/importer_status.js.coffee index 2eb151a641b..b0edc895649 100644 --- a/app/assets/javascripts/importer_status.js.coffee +++ b/app/assets/javascripts/importer_status.js.coffee @@ -23,14 +23,14 @@ class @ImporterStatus $('.js-import-all') .off 'click' - .on 'click', (e) => - $btn = $(e.currentTarget) + .on 'click', (e) -> + $btn = $(@) $btn .disable() .addClass 'is-loading' $('.js-add-to-import').each -> - $(this).click() + $(this).trigger('click') setAutoUpdate: -> setInterval (=> |