[Common] tab 'File' lost active state when click inner panels

This commit is contained in:
Maxim Kadushkin 2018-05-07 17:17:41 +03:00
parent 680f549846
commit cb0664fc9f

View file

@ -71,7 +71,7 @@ define([
function onClickDocument(e) {
if ( this.isFolded ) {
if ( $(e.target).parents('.toolbar').length ){
if ( $(e.target).parents('.toolbar, #file-menu-panel').length ){
} else {
this.collapse();
}