Roo/Element.js
authorAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 09:43:10 +0000 (17:43 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 09:43:10 +0000 (17:43 +0800)
Roo/Element.js

index ffb1a08..17ab922 100644 (file)
@@ -363,7 +363,7 @@ if(opt.anim.isAnimated()){
                     this.setHeight(oldHeight); // restore original height
                     this.setHeight(height, animate, duration, function(){
                         this.unclip();
-                        if(typeof onComplete == "function") onComplete();
+                        if(typeof onComplete == "function") { onComplete(); }
                     }.createDelegate(this), easing);
                 }
             }.createDelegate(this), 0);