Merge pull request #3806 from cmgustavo/bug/uri-payment-02
Bug/uri payment 02
This commit is contained in:
commit
2623e2ed5d
2 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
angular.module('copayApp.controllers').controller('paymentUriController',
|
angular.module('copayApp.controllers').controller('paymentUriController',
|
||||||
function($rootScope, $stateParams, $location, $timeout, profileService, configService, lodash, bitcore, go) {
|
function($rootScope, $stateParams, $location, $timeout, profileService, configService, lodash, bitcore, go) {
|
||||||
|
|
||||||
|
window.ignoreMobilePause = true;
|
||||||
function strip(number) {
|
function strip(number) {
|
||||||
return (parseFloat(number.toPrecision(12)));
|
return (parseFloat(number.toPrecision(12)));
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ angular.element(document).ready(function() {
|
||||||
}
|
}
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var loc = window.location;
|
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;
|
window.ignoreMobilePause = ignoreMobilePause;
|
||||||
}, 100);
|
}, 100);
|
||||||
}, false);
|
}, false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue