fix reset to defaults

This commit is contained in:
Matias Alejo Garcia 2014-11-14 13:11:05 -03:00
commit 83fa24f5af
3 changed files with 2 additions and 11 deletions

View file

@ -11,8 +11,6 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
}
if ($rootScope.fromEmailConfirmation) {
$scope.confirmedEmail = true;
$rootScope.fromEmailConfirmation = false;

View file

@ -103,9 +103,8 @@ angular.module('copayApp.controllers').controller('SettingsController', function
$scope.reset = function() {
localStorage.removeItem('config');
$location.hash('top');
$anchorScroll();
$scope.message= 'Settings were reset to defaults';
// Go home reloading the application
window.location.reload();
};
});