Fix comment

This commit is contained in:
Blade Barringer
2015-04-26 20:43:32 -05:00
parent f214428411
commit a94aad7a22

View File

@@ -224,7 +224,7 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
if ($scope.query === undefined || $scope.query === null) { if ($scope.query === undefined || $scope.query === null) {
return false; return false;
} }
return msg.user.indexOf($scope.query.text) == 0; // query should be prefix of item.user return msg.user.indexOf($scope.query.text) == 0; // query should be prefix of msg.user
} }
$scope.addNewUser = function(user) { $scope.addNewUser = function(user) {