Merge pull request #6 from ONLYOFFICE/feature/fix-bug-35860

Fix Bug 35860.
This commit is contained in:
Alexander Trofimov 2017-09-18 15:24:30 +03:00 committed by GitHub
commit 1f9f8c09aa

View file

@ -377,6 +377,12 @@ define([
if ( role == 'left' && (!config || !config.isDesktopApp)) {
$html = $(templateLeftBox);
this.logo = $html.find('#header-logo');
if (this.branding && this.branding.logo && this.branding.logo.image && this.logo) {
this.logo.html('<img src="' + this.branding.logo.image + '" style="max-width:100px; max-height:20px; margin: 0;"/>');
this.logo.css({'background-image': 'none', width: 'auto'});
}
return $html;
} else
if ( role == 'right' ) {