diff --git a/src/js/controllers/paymentUri.js b/src/js/controllers/paymentUri.js index 3ae5ad766..c202945bf 100644 --- a/src/js/controllers/paymentUri.js +++ b/src/js/controllers/paymentUri.js @@ -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); diff --git a/src/js/init.js b/src/js/init.js index 3bcc05d45..298a40883 100644 --- a/src/js/init.js +++ b/src/js/init.js @@ -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);