From ddf18737fd5c6d850d9cf6e398465bfd37b374b8 Mon Sep 17 00:00:00 2001 From: Evgenij Myasnikov Date: Tue, 4 May 2021 16:37:46 +0200 Subject: [PATCH] Fixed issue with panels visible attribute being not used. --- src/panels/view/PanelView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panels/view/PanelView.js b/src/panels/view/PanelView.js index 255179abc..1394247a5 100644 --- a/src/panels/view/PanelView.js +++ b/src/panels/view/PanelView.js @@ -120,6 +120,8 @@ export default Backbone.View.extend({ const cls = `${this.className} ${this.id} ${ppfx}one-bg ${ppfx}two-color`; $el.addClass(cls); + this.toggleVisible(); + if (this.buttons.length) { var buttons = new ButtonsView({ collection: this.buttons,