New tag field correctly clears when new tag added.

This commit is contained in:
John Montgomery
2015-03-29 15:10:24 -04:00
parent 61e8b65f14
commit 99aad96688
+1 -1
View File
@@ -31,6 +31,6 @@ habitrpg.controller("FiltersCtrl", ['$scope', '$rootScope', 'User', 'Shared',
$scope.createTag = function(name) {
User.user.ops.addTag({body:{name:name, id:Shared.uuid()}});
$scope._newTag = '';
this._newTag = '';
};
}]);