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:
commit
7f94838c92
|
@ -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();
|
||||
}
|
||||
}
|
||||
};
|
||||
}()));
|
||||
|
|
Loading…
Reference in a new issue