mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #1041 from yemel/fix/go-home-settings
Go home after saving settings
This commit is contained in:
commit
125ceb9b66
|
@ -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);
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue