Go home after saving settings
This commit is contained in:
parent
94047a77ae
commit
2a122f4b47
1 changed files with 3 additions and 1 deletions
|
|
@ -74,6 +74,8 @@ angular.module('copayApp.controllers').controller('SettingsController',
|
||||||
unitToSatoshi: $scope.selectedUnit.value,
|
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…
Add table
Add a link
Reference in a new issue