client/js/core/elem/elem.coffee in rsence-pre-3.0.0.11 vs client/js/core/elem/elem.coffee in rsence-pre-3.0.0.12
- old
+ new
@@ -289,10 +289,10 @@
###
setPosition: (_id, x, y )->
unless y?
[ x, y ] = x
@setStyle( _id, 'left', x+'px' )
- @setStyle( _id, 'top', x+'px' )
+ @setStyle( _id, 'top', y+'px' )
###
Shortcut for filling parent dimensions with optional offset(s)
###
stretchToParentBounds: (_id, l, t, r, b )->