paypro: minor - split fix. style fix.
This commit is contained in:
parent
64b38802bf
commit
a3714f8893
2 changed files with 5 additions and 3 deletions
|
|
@ -102,7 +102,7 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
if (address.indexOf('bitcoin:') === 0) {
|
||||
uri = copay.HDPath.parseBitcoinURI(address);
|
||||
} else if (address.indexOf('Merchant: ') === 0) {
|
||||
uri = { merchant: address.split(' ')[1] };
|
||||
uri = { merchant: address.split(/\s+/)[1] };
|
||||
}
|
||||
|
||||
if (uri && uri.merchant) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue