Fix #5946 - fix defaults on js - breaks old browsers
[roojs1] / Roo / LayoutRegion.js
index a2d6cef..55a88b2 100644 (file)
@@ -302,7 +302,7 @@ Roo.extend(Roo.LayoutRegion, Roo.BasicLayoutRegion, {
      * Collapses this region.
      * @param {Boolean} skipAnim (optional) true to collapse the element without animation (if animate is true)
      */
-    collapse : function(skipAnim, skipCheck = false){
+    collapse : function(skipAnim, skipCheck){
         if(this.collapsed) {
             return;
         }