diff options
author | Simon Knox <psimyn@gmail.com> | 2017-02-08 21:54:33 +1100 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-02-08 21:54:33 +1100 |
commit | 4e4639b56eda367a8d5612042fcf1359a8303082 (patch) | |
tree | 98ea98bf9553a668fe1833068759ede24ba47ddf | |
parent | 766d011b461d11dd0a6fb23b691f6c779a2b0b2f (diff) | |
download | gitlab-ce-4e4639b56eda367a8d5612042fcf1359a8303082.tar.gz |
forgot to iife
-rw-r--r-- | app/assets/javascripts/task_list.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/task_list.js.es6 b/app/assets/javascripts/task_list.js.es6 index 3fa6a36e455..1186a1ecfb9 100644 --- a/app/assets/javascripts/task_list.js.es6 +++ b/app/assets/javascripts/task_list.js.es6 @@ -7,7 +7,7 @@ class TaskList { constructor(options = {}) { this.selector = options.selector; this.dataType = options.dataType; - this.onSuccess = options.onSuccess || () => null; + this.onSuccess = options.onSuccess || (() => {}); this.init(); } |