Bug with opening context menu when toolbar isn't folded.

This commit is contained in:
Julia Radzhabova 2017-06-28 11:43:50 +03:00
parent 08cf339da5
commit 7f68ab09b6

View file

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