mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-18 17:54:10 +00:00
fix(hourglass): Use method on $scope
This commit is contained in:
parent
98cd8364c6
commit
fb50f27fa7
1 changed files with 3 additions and 1 deletions
|
|
@ -251,7 +251,9 @@ habitrpg.controller("InventoryCtrl",
|
|||
};
|
||||
|
||||
$scope.hasAllTimeTravelerItems = function() {
|
||||
return (hasAllTimeTravelerItemsOfType('mystery') && hasAllTimeTravelerItemsOfType('pets') && hasAllTimeTravelerItemsOfType('mounts'));
|
||||
return ($scope.hasAllTimeTravelerItemsOfType('mystery') &&
|
||||
$scope.hasAllTimeTravelerItemsOfType('pets') &&
|
||||
$scope.hasAllTimeTravelerItemsOfType('mounts'));
|
||||
};
|
||||
|
||||
$scope.hasAllTimeTravelerItemsOfType = function(type) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue