Merge pull request #443 from ONLYOFFICE/fix/resize-on-start

Fix tabbar on start (show scroll arrows on small windows)
This commit is contained in:
Julia Radzhabova 2020-07-29 21:03:55 +03:00 committed by GitHub
commit 7f94838c92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}
}
};
}()));