mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-01 04:31:36 +02:00
Fix more namespaces that were missed in the first pass
This commit is contained in:
@@ -118,8 +118,8 @@ export function utilPrefixCSSProperty(property) {
|
||||
|
||||
var transformProperty;
|
||||
export function utilSetTransform(el, x, y, scale) {
|
||||
var prop = transformProperty = transformProperty || prefixCSSProperty('Transform'),
|
||||
translate = Detect().opera ?
|
||||
var prop = transformProperty = transformProperty || utilPrefixCSSProperty('Transform'),
|
||||
translate = utilDetect().opera ?
|
||||
'translate(' + x + 'px,' + y + 'px)' :
|
||||
'translate3d(' + x + 'px,' + y + 'px,0)';
|
||||
return el.style(prop, translate + (scale ? ' scale(' + scale + ')' : ''));
|
||||
|
||||
Reference in New Issue
Block a user