diff --git a/bi/core.js b/bi/core.js index 744231b761..618a276269 100644 --- a/bi/core.js +++ b/bi/core.js @@ -4512,11 +4512,11 @@ BI.Widget = BI.inherit(BI.OB, { setVisible: function (visible) { if (visible === true) { this.options.invisible = false; - this.element.show(); + this.element.css("display", ""); this._mount(); } else if (visible === false) { this.options.invisible = true; - this.element.hide(); + this.element.css("display", "none"); } this.fireEvent(BI.Events.VIEW, visible); }, diff --git a/docs/core.js b/docs/core.js index 429e62f8ff..aeb3c209a0 100644 --- a/docs/core.js +++ b/docs/core.js @@ -14507,11 +14507,11 @@ BI.Widget = BI.inherit(BI.OB, { setVisible: function (visible) { if (visible === true) { this.options.invisible = false; - this.element.show(); + this.element.css("display", ""); this._mount(); } else if (visible === false) { this.options.invisible = true; - this.element.hide(); + this.element.css("display", "none"); } this.fireEvent(BI.Events.VIEW, visible); }, diff --git a/src/core/widget.js b/src/core/widget.js index 2cd8c3b52f..2805ce98b7 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -208,11 +208,11 @@ BI.Widget = BI.inherit(BI.OB, { setVisible: function (visible) { if (visible === true) { this.options.invisible = false; - this.element.show(); + this.element.css("display", ""); this._mount(); } else if (visible === false) { this.options.invisible = true; - this.element.hide(); + this.element.css("display", "none"); } this.fireEvent(BI.Events.VIEW, visible); },