From f081ff290878c11fa5a4b4f750afa195a562079a Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Tue, 14 Jan 2014 17:20:58 +0200 Subject: [PATCH] fix build --- src/dom/DomUtil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dom/DomUtil.js b/src/dom/DomUtil.js index dddd83c1..6faa8f06 100644 --- a/src/dom/DomUtil.js +++ b/src/dom/DomUtil.js @@ -131,8 +131,8 @@ L.DomUtil = { }, setTransform: function (el, offset, scale, no3d) { - no3d = no3d || !L.Browser.any3d, - pos = offset || new L.Point(0, 0); + var pos = offset || new L.Point(0, 0); + no3d = no3d || !L.Browser.any3d; el.style[L.DomUtil.TRANSFORM] = 'translate' + (no3d ? '(' : '3d(') + pos.x + 'px,' + pos.y + 'px' + (no3d ? ')' : ',0)') +