Fix payment URI on mobile
This commit is contained in:
parent
8bdd086108
commit
08af65c6a4
2 changed files with 2 additions and 4 deletions
|
|
@ -43,9 +43,7 @@ angular.module('copayApp.controllers').controller('paymentUriController',
|
|||
|
||||
this.selectWallet = function(wid) {
|
||||
var self = this;
|
||||
if (wid != profileService.focusedClient.credentials.walletId) {
|
||||
profileService.setAndStoreFocus(wid, function() {});
|
||||
}
|
||||
profileService.setAndStoreFocus(wid, function() {});
|
||||
$timeout(function() {
|
||||
$rootScope.$emit('paymentUri', self.bitcoinURI);
|
||||
}, 1000);
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ angular.element(document).ready(function() {
|
|||
}
|
||||
setTimeout(function() {
|
||||
var loc = window.location;
|
||||
var ignoreMobilePause = loc.toString().match(/(glidera|buy|sell)/) ? true : false;
|
||||
var ignoreMobilePause = loc.toString().match(/(buy|sell|uri-payment)/) ? true : false;
|
||||
window.ignoreMobilePause = ignoreMobilePause;
|
||||
}, 100);
|
||||
}, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue