summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-02-08 21:54:33 +1100
committerSimon Knox <psimyn@gmail.com>2017-02-08 21:54:33 +1100
commit4e4639b56eda367a8d5612042fcf1359a8303082 (patch)
tree98ea98bf9553a668fe1833068759ede24ba47ddf
parent766d011b461d11dd0a6fb23b691f6c779a2b0b2f (diff)
downloadgitlab-ce-4e4639b56eda367a8d5612042fcf1359a8303082.tar.gz
forgot to iife
-rw-r--r--app/assets/javascripts/task_list.js.es62
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();
}