diff --git a/public/js/controllers/userCtrl.js b/public/js/controllers/userCtrl.js index a71867f0a8..1d01cc4888 100644 --- a/public/js/controllers/userCtrl.js +++ b/public/js/controllers/userCtrl.js @@ -17,5 +17,6 @@ habitrpg.controller("UserCtrl", ['$scope', '$location', 'User', } $scope.removeWebsite = function($index){ User.user.profile.websites.splice($index,1); + User.set('profile.websites', User.user.profile.websites); } }]);