X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..530ef4b6c5b943cfa68b779d11cf7de29aa878bf:/src/core/Element.style-more.js diff --git a/src/core/Element.style-more.js b/src/core/Element.style-more.js index 062d95cc..c6897485 100644 --- a/src/core/Element.style-more.js +++ b/src/core/Element.style-more.js @@ -1,5 +1,5 @@ /*! - * Ext JS Library 3.2.0 + * Ext JS Library 3.2.1 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license @@ -106,7 +106,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; }