Fixed page reload on settings change

This commit is contained in:
Keith Holliday
2016-05-14 10:10:30 -05:00
parent 409dfbb2b0
commit 936ff1f200
+5 -1
View File
@@ -335,7 +335,11 @@ angular.module('habitrpg')
method: "PUT",
url: '/api/v3/user',
data: updates,
});
})
.then(function () {
save();
$rootScope.$emit('userSynced');
})
},
reroll: function () {