From b731cb817a1d9d0b0124481e2c7c05833b9bfa95 Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 24 Feb 2017 13:57:27 +0800 Subject: [PATCH] Roo/Element.js --- Roo/Element.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Roo/Element.js b/Roo/Element.js index a6cd25d500..e6f0212e5b 100644 --- a/Roo/Element.js +++ b/Roo/Element.js @@ -2610,19 +2610,16 @@ if(opt.anim.isAnimated()){ * @return {Object} An object with left and top properties. e.g. {left: (value), top: (value)} */ translatePoints : function(x, y){ - Roo.log('translatePoints??') + Roo.log(this); if(typeof x == 'object' || x instanceof Array){ y = x[1]; x = x[0]; } var p = this.getStyle('position'); var o = this.getXY(); - - Roo.log(o); var l = parseInt(this.getStyle('left'), 10); var t = parseInt(this.getStyle('top'), 10); - Roo.log([l, t]); if(isNaN(l)){ l = (p == "relative") ? 0 : this.dom.offsetLeft; } -- 2.39.2