mirror of https://github.com/BTCPrivate/copay.git
Go home after saving settings
This commit is contained in:
parent
94047a77ae
commit
2a122f4b47
|
@ -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…
Reference in New Issue