Merge pull request #3806 from cmgustavo/bug/uri-payment-02

Bug/uri payment 02
This commit is contained in:
Matias Alejo Garcia 2016-01-22 10:59:51 -03:00
commit 2623e2ed5d
2 changed files with 2 additions and 1 deletions

View File

@ -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)));
};

View File

@ -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);