Browse Source

* translate3d -> translate

pull/10/head
RubaXa 11 years ago
parent
commit
ceb71a222c
  1. 2
      index.html

2
index.html

@ -397,7 +397,7 @@ sort.destroy();
var dx = el.w/el.fX * (rx / -halfWidth); var dx = el.w/el.fX * (rx / -halfWidth);
var dy = el.h/el.fY * (ry / halfHeight); var dy = el.h/el.fY * (ry / halfHeight);
el.style['transform'] = el.style['transform'] =
el.style['-webkit-transform'] = 'translate3d('+dx+'px,'+dy+'px,0)'; el.style['-webkit-transform'] = 'translate('+dx+'px,'+dy+'px)';
}); });
requestAnimationFrame(_loop); requestAnimationFrame(_loop);

Loading…
Cancel
Save