mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Simplify editTask
This commit is contained in:
@@ -65,9 +65,7 @@ habitrpg.controller("TasksCtrl", ['$scope', '$rootScope', '$location', 'User','N
|
||||
list.focus = true;
|
||||
};
|
||||
|
||||
$scope.editTask = function(task) {
|
||||
Tasks.editTask(task);
|
||||
};
|
||||
$scope.editTask = Tasks.editTask;
|
||||
|
||||
/**
|
||||
* Add the new task to the actions log
|
||||
|
||||
Reference in New Issue
Block a user