Go home after saving settings

This commit is contained in:
Yemel Jardi 2014-08-04 17:13:24 -03:00
parent 94047a77ae
commit 2a122f4b47
1 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,8 @@ angular.module('copayApp.controllers').controller('SettingsController',
unitToSatoshi: $scope.selectedUnit.value,
}));
window.location.reload();
// Go home reloading the application
var hashIndex = window.location.href.indexOf('#!/');
window.location = window.location.href.substr(0, hashIndex);
};
});