diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-09-28 16:58:36 +0200 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-05 11:25:05 +0200 |
commit | 5ef3e8669db802e2355fd8dea1bef68ea7a48726 (patch) | |
tree | 0178c8233a754153aea6951c337fc1073a696e35 /app/assets/javascripts/todos.js.es6 | |
parent | f80b8bd26c785aa07e0f0b0523d44af2808eb110 (diff) | |
download | gitlab-ce-5ef3e8669db802e2355fd8dea1bef68ea7a48726.tar.gz |
Make fixes to get tests passing.
Diffstat (limited to 'app/assets/javascripts/todos.js.es6')
-rw-r--r-- | app/assets/javascripts/todos.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/todos.js.es6 b/app/assets/javascripts/todos.js.es6 index 945000c2f43..055228c5df8 100644 --- a/app/assets/javascripts/todos.js.es6 +++ b/app/assets/javascripts/todos.js.es6 @@ -5,7 +5,7 @@ this.allDoneClicked = this.allDoneClicked.bind(this); this.doneClicked = this.doneClicked.bind(this); this.el = el || $('.js-todos-options'); - this.perPage = el.data('perPage'); + this.perPage = this.el.data('perPage'); this.clearListeners(); this.initBtnListeners(); this.initFilters(); |