From edabc2f76fc91e7e743ac305b43800d1169fa7b1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 20 Apr 2016 17:52:27 +0800 Subject: [PATCH] Roo/LayoutRegion.js --- Roo/LayoutRegion.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Roo/LayoutRegion.js b/Roo/LayoutRegion.js index 9fc19e2d57..1c58c6afec 100644 --- a/Roo/LayoutRegion.js +++ b/Roo/LayoutRegion.js @@ -303,7 +303,9 @@ Roo.extend(Roo.LayoutRegion, Roo.BasicLayoutRegion, { * @param {Boolean} skipAnim (optional) true to collapse the element without animation (if animate is true) */ collapse : function(skipAnim){ - if(this.collapsed) return; + if(this.collapsed) { + return; + } this.collapsed = true; if(this.split){ this.split.el.hide(); -- 2.39.2