[Common] debug toolbar compact mode

This commit is contained in:
Maxim Kadushkin 2017-06-16 12:25:36 +03:00
parent c310594f14
commit 72eda1de98

View file

@ -164,7 +164,11 @@ define([
},
collapseToolbar: function() {
optsFold.$bar && optsFold.$bar.removeClass('expanded');
if ( optsFold.$bar ) {
optsFold.$bar.removeClass('expanded');
optsFold.$bar.find('.tabs .ribtab').removeClass('active');
}
Common.UI.Menu.Manager.hideAll();
},