From d7c5ce1b7704600ae1aac9f436efd35f025ec781 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 29 Jul 2020 20:58:25 +0300 Subject: [PATCH] Fix tabbar on start (show scroll arrows on small windows) --- apps/common/main/lib/component/Mixtbar.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/Mixtbar.js b/apps/common/main/lib/component/Mixtbar.js index 74b785c60..af13108ba 100644 --- a/apps/common/main/lib/component/Mixtbar.js +++ b/apps/common/main/lib/component/Mixtbar.js @@ -462,8 +462,10 @@ define([ }, setVisible: function (tab, visible) { - if ( tab && this.$tabs ) + if ( tab && this.$tabs ) { this.$tabs.find('> a[data-tab=' + tab + ']').parent().css('display', visible ? '' : 'none'); + this.onResize(); + } } }; }()));