Roo/Element.js
authorEdward <edward@roojs.com>
Mon, 13 Jan 2014 08:21:01 +0000 (16:21 +0800)
committerEdward <edward@roojs.com>
Mon, 13 Jan 2014 08:21:01 +0000 (16:21 +0800)
Roo/Element.js

index b016e5d..ec2330d 100644 (file)
@@ -684,7 +684,7 @@ if(opt.anim.isAnimated()){
             
             var a = arguments, len = a.length, r = {};
             Roo.log(a);
-            if(a.indexOf('all')){
+            if(a.indexOf('all') !== -1){
                 var s = this.attr('style').split(';');
                 Roo.log(s);
                 return r;