mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-18 17:54:10 +00:00
v3 client: fix typo
This commit is contained in:
parent
ec80785384
commit
c1ef633b0f
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ angular.module('habitrpg')
|
|||
var orderedTasks = new Array(tasksOfType.length);
|
||||
var unorderedTasks = []; // what we want to add later
|
||||
|
||||
tasksOfType.forEach((task, index) => {
|
||||
tasksOfType.forEach(function (task, index) {
|
||||
var taskId = task._id;
|
||||
var i = order[index] === taskId ? index : order.indexOf(taskId);
|
||||
if (i === -1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue