summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-09-08 15:54:48 +0200
committerBryce Johnson <bryce@gitlab.com>2016-10-05 11:25:01 +0200
commit01fdb521e2a4232ea857e9d85610be91b70f50fe (patch)
tree35e882c59cdf93b577da169f0552342f2ea1b308
parent8377c2fbc3f6b43b7cd3d965eca2a87e318ae227 (diff)
downloadgitlab-ce-01fdb521e2a4232ea857e9d85610be91b70f50fe.tar.gz
Fixup refs to currPage and currPages.
-rw-r--r--app/assets/javascripts/todos.js.es64
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/todos.js.es6 b/app/assets/javascripts/todos.js.es6
index 63e4911400b..a0386dcc018 100644
--- a/app/assets/javascripts/todos.js.es6
+++ b/app/assets/javascripts/todos.js.es6
@@ -114,8 +114,8 @@
}
redirectIfNeeded(total) {
- let currPages = this.getTotalPages();
- currPage = this.getCurrentPage();
+ const currPages = this.getTotalPages();
+ const currPage = this.getCurrentPage();
// Refresh if no remaining Todos
if (!total) {