This commit is contained in:
Gustavo Maximiliano Cortez 2016-02-09 16:51:00 -05:00
commit c25a592d1c
2 changed files with 0 additions and 7 deletions

View file

@ -16,13 +16,11 @@ angular.module('copayApp.controllers').controller('txController',
}
this.getAlternativeAmount = function(btx) {
console.log('[tx.js:18]',btx); //TODO
var satToBtc = 1 / 100000000;
fc.getFiatRate({
code: self.alternativeIsoCode,
ts: btx.time * 1000
}, function(err, res) {
console.log('[tx.js:24]',res); //TODO
if (err) {
$log.debug('Could not get historic rate');
return;

View file

@ -342,8 +342,6 @@ angular.module('copayApp.directives')
touchStartX = event.targetTouches[0].pageX;
touchStartY = event.targetTouches[0].pageY;
console.log('PRIMER CLICKKKKKK!!');
return true;
});
@ -353,16 +351,13 @@ angular.module('copayApp.directives')
event.preventDefault();
}
trackingClick = false;
console.log('SOLTANDO EL CLICKKKKKK!!');
return false;
});
element.on('touchmove', function(event) {
console.log('[directives.js:357] MOVING 1', trackingClick); //TODO
if (!trackingClick) {
return true;
}
console.log('[directives.js:361] MOVING 2', trackingClick); //TODO
// If the touch has moved, cancel the click tracking
if (targetElement !== event.target