js/foundation/view/view.js in rsence-pre-2.2.0.15 vs js/foundation/view/view.js in rsence-pre-2.2.0.16

- old
+ new

@@ -623,11 +623,10 @@ if (this.parent && this.rect.isValid) { var i = 0, _this = this, _elemId = _this.elemId, - _styl = ELEM.setStyle, _rect = _this.rect, _auto = 'auto', _left = _this.flexLeft?_rect.left:_auto, _top = _this.flexTop?_rect.top:_auto, _right = _this.flexRight?_this.flexRightOffset:_auto, @@ -653,10 +652,10 @@ _key = _styles[i][0]; _value = _styles[i][1]; if( i < 6 && _value !== _auto ){ _value += 'px'; } - _styl(_elemId,_key,_value,true); + ELEM.setStyle(_elemId,_key,_value,true); } (this.drawn === false) && _this._updateZIndex(); if ( _this._cachedLeft !== _rect.left || _this._cachedTop !== _rect.top) { _this.invalidatePositionCache();