Skip to content

Commit

Permalink
fix language switching
Browse files Browse the repository at this point in the history
  • Loading branch information
paglias committed Nov 25, 2013
1 parent a47a32d commit c4e8de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/controllers/settingsCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ habitrpg.controller('SettingsCtrl',
$rootScope.$on('userSynced', function(){
location.reload();
});
User.set('preferences.language', $scope.language);
User.set('preferences.language', $scope.language.code);
}

$scope.reroll = function(){
Expand Down

0 comments on commit c4e8de2

Please sign in to comment.