scale preview image
This commit is contained in:
parent
b7e91c5c3a
commit
79269427d7
|
@ -42,8 +42,10 @@ function preview(setting, value) {
|
|||
var logos = document.getElementsByClassName('logo-icon');
|
||||
if(value !== '') {
|
||||
logos[0].style.background = "url('" + OC.generateUrl('/apps/theming/logo') + "')";
|
||||
logos[0].style.backgroundSize = "62px 34px";
|
||||
} else {
|
||||
logos[0].style.background = "url('" + OC.getRootPath() + '/core/img/logo-icon.svg'+"')";
|
||||
logos[0].style.backgroundSize = "62px 34px";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue