Fix regex
This commit is contained in:
parent
e8145756a7
commit
0c67f02754
3 changed files with 7 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ angular.module('copayApp.controllers').controller('addressbookAddController', fu
|
|||
$timeout(function() {
|
||||
var form = addressbookForm;
|
||||
if (data && form) {
|
||||
data = data.replace(/^bitcoin[cash]*:/, '');
|
||||
data = data.replace(/^bitcoin(cash)?:/, '');
|
||||
form.address.$setViewValue(data);
|
||||
form.address.$isValid = true;
|
||||
form.address.$render();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue