This commit is contained in:
Matteo Pagliazzi
2013-09-20 18:05:01 +02:00
parent 2c2367cf7c
commit 55661a6659

View File

@@ -97,7 +97,7 @@ habitrpg.controller("TasksCtrl", ['$scope', '$rootScope', '$location', 'User', '
$scope.itemStore = sorted;
}
updateStore()
updateStore();
$scope.buy = function(type) {
var hasEnough = window.habitrpgShared.items.buyItem(User.user, type);