From: Edward Date: Fri, 27 Mar 2015 02:51:32 +0000 (+0800) Subject: Roo/bootstrap/Modal.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=adb3fb521a81b231225c10058e89c6b9bd8086a8;p=roojs1 Roo/bootstrap/Modal.js --- diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 8712ede290..aafcfee0cd 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -232,7 +232,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { if(this.animate){ var _this = this; - (function(){ _this.el.addClass('in'); }).defer(50); + (function(){ _this.el.addClass('in'); }).defer(10); }else{ this.el.addClass('in'); } @@ -257,7 +257,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { if(this.animate){ var _this = this; - (function(){ _this.el.setStyle('display', 'none'); }).defer(10); + (function(){ _this.el.setStyle('display', 'none'); }).defer(150); }else{ this.el.setStyle('display', 'none'); }