Change click on header logo: click only on the image.
This commit is contained in:
parent
03fc5c6dd2
commit
876171af9c
|
@ -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';
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue