mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #3806 from cmgustavo/bug/uri-payment-02
Bug/uri payment 02
This commit is contained in:
commit
2623e2ed5d
|
@ -2,6 +2,7 @@
|
|||
angular.module('copayApp.controllers').controller('paymentUriController',
|
||||
function($rootScope, $stateParams, $location, $timeout, profileService, configService, lodash, bitcore, go) {
|
||||
|
||||
window.ignoreMobilePause = true;
|
||||
function strip(number) {
|
||||
return (parseFloat(number.toPrecision(12)));
|
||||
};
|
||||
|
|
|
@ -46,7 +46,7 @@ angular.element(document).ready(function() {
|
|||
}
|
||||
setTimeout(function() {
|
||||
var loc = window.location;
|
||||
var ignoreMobilePause = loc.toString().match(/(buy|sell|uri-payment)/) ? true : false;
|
||||
var ignoreMobilePause = loc.toString().match(/(buy|sell)/) ? true : false;
|
||||
window.ignoreMobilePause = ignoreMobilePause;
|
||||
}, 100);
|
||||
}, false);
|
||||
|
|
Loading…
Reference in New Issue