[Common] tab 'File' lost active state when click inner panels
This commit is contained in:
parent
680f549846
commit
cb0664fc9f
|
@ -71,7 +71,7 @@ define([
|
||||||
|
|
||||||
function onClickDocument(e) {
|
function onClickDocument(e) {
|
||||||
if ( this.isFolded ) {
|
if ( this.isFolded ) {
|
||||||
if ( $(e.target).parents('.toolbar').length ){
|
if ( $(e.target).parents('.toolbar, #file-menu-panel').length ){
|
||||||
} else {
|
} else {
|
||||||
this.collapse();
|
this.collapse();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue