Change click on header logo: click only on the image.

This commit is contained in:
Julia Radzhabova 2017-09-19 15:42:44 +03:00
parent 03fc5c6dd2
commit 876171af9c
2 changed files with 6 additions and 2 deletions

View file

@ -212,7 +212,7 @@ define([
});
if ( me.logo )
me.logo.on('click', function (e) {
me.logo.children(0).on('click', function (e) {
var _url = !!me.branding && !!me.branding.logo && !!me.branding.logo.url ?
me.branding.logo.url : 'http://www.onlyoffice.com';

View file

@ -126,15 +126,19 @@
#header-logo {
max-width: 200px;
height: 100%;
cursor: pointer;
padding: 7px 24px 7px 12px;
i {
cursor: pointer;
width: 86px;
height: 20px;
display: block;
.background-ximage('@{common-image-path}/header/header-logo.png', '@{common-image-path}/header/header-logo@2x.png', 86px);
}
img {
cursor: pointer;
}
}
}