fix build

This commit is contained in:
Vladimir Agafonkin 2014-01-14 17:20:58 +02:00
parent cd0c9ff8a5
commit f081ff2908

View File

@ -131,8 +131,8 @@ L.DomUtil = {
}, },
setTransform: function (el, offset, scale, no3d) { setTransform: function (el, offset, scale, no3d) {
no3d = no3d || !L.Browser.any3d, var pos = offset || new L.Point(0, 0);
pos = offset || new L.Point(0, 0); no3d = no3d || !L.Browser.any3d;
el.style[L.DomUtil.TRANSFORM] = el.style[L.DomUtil.TRANSFORM] =
'translate' + (no3d ? '(' : '3d(') + pos.x + 'px,' + pos.y + 'px' + (no3d ? ')' : ',0)') + 'translate' + (no3d ? '(' : '3d(') + pos.x + 'px,' + pos.y + 'px' + (no3d ? ')' : ',0)') +