Bug with opening context menu when toolbar isn't folded.
This commit is contained in:
parent
08cf339da5
commit
7f68ab09b6
|
@ -164,7 +164,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
collapseToolbar: function() {
|
collapseToolbar: function() {
|
||||||
if ( optsFold.$bar ) {
|
if ( this.isFolded && optsFold.$bar ) {
|
||||||
optsFold.$bar.removeClass('expanded');
|
optsFold.$bar.removeClass('expanded');
|
||||||
optsFold.$bar.find('.tabs .ribtab').removeClass('active');
|
optsFold.$bar.find('.tabs .ribtab').removeClass('active');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue