Fix typo
This commit is contained in:
parent
b405510db3
commit
c25a592d1c
2 changed files with 0 additions and 7 deletions
|
|
@ -16,13 +16,11 @@ angular.module('copayApp.controllers').controller('txController',
|
||||||
}
|
}
|
||||||
|
|
||||||
this.getAlternativeAmount = function(btx) {
|
this.getAlternativeAmount = function(btx) {
|
||||||
console.log('[tx.js:18]',btx); //TODO
|
|
||||||
var satToBtc = 1 / 100000000;
|
var satToBtc = 1 / 100000000;
|
||||||
fc.getFiatRate({
|
fc.getFiatRate({
|
||||||
code: self.alternativeIsoCode,
|
code: self.alternativeIsoCode,
|
||||||
ts: btx.time * 1000
|
ts: btx.time * 1000
|
||||||
}, function(err, res) {
|
}, function(err, res) {
|
||||||
console.log('[tx.js:24]',res); //TODO
|
|
||||||
if (err) {
|
if (err) {
|
||||||
$log.debug('Could not get historic rate');
|
$log.debug('Could not get historic rate');
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -342,8 +342,6 @@ angular.module('copayApp.directives')
|
||||||
touchStartX = event.targetTouches[0].pageX;
|
touchStartX = event.targetTouches[0].pageX;
|
||||||
touchStartY = event.targetTouches[0].pageY;
|
touchStartY = event.targetTouches[0].pageY;
|
||||||
|
|
||||||
console.log('PRIMER CLICKKKKKK!!');
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -353,16 +351,13 @@ angular.module('copayApp.directives')
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
trackingClick = false;
|
trackingClick = false;
|
||||||
console.log('SOLTANDO EL CLICKKKKKK!!');
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
element.on('touchmove', function(event) {
|
element.on('touchmove', function(event) {
|
||||||
console.log('[directives.js:357] MOVING 1', trackingClick); //TODO
|
|
||||||
if (!trackingClick) {
|
if (!trackingClick) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
console.log('[directives.js:361] MOVING 2', trackingClick); //TODO
|
|
||||||
|
|
||||||
// If the touch has moved, cancel the click tracking
|
// If the touch has moved, cancel the click tracking
|
||||||
if (targetElement !== event.target
|
if (targetElement !== event.target
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue