X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/source/Element.style-more.html?ds=inline diff --git a/docs/source/Element.style-more.html b/docs/source/Element.style-more.html index f81bdc6b..833a51de 100644 --- a/docs/source/Element.style-more.html +++ b/docs/source/Element.style-more.html @@ -7,10 +7,10 @@
/*! - * Ext JS Library 3.2.0 - * Copyright(c) 2006-2010 Ext JS, Inc. - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ /** * @class Ext.Element @@ -114,7 +114,7 @@ Ext.Element.addMethods(function(){ */ setSize : function(width, height, animate){ var me = this; - if(Ext.isObject(width)){ // in case of object from getSize() + if(typeof width == 'object'){ // in case of object from getSize() height = width.height; width = width.width; } @@ -263,7 +263,7 @@ Ext.Element.addMethods(function(){ return { width : d.clientWidth, height : d.clientHeight - } + }; } }, @@ -290,7 +290,7 @@ Ext.Element.addMethods(function(){ return { width : extdom.getViewWidth(), height : extdom.getViewHeight() - } + }; } // Use Styles if they are set if(s.width && s.width != 'auto'){