[minor] [erpnext logo] load it as object instead of image
This commit is contained in:
parent
04750d9fe2
commit
674765a641
@ -15,8 +15,9 @@ wn.modules_path = 'erpnext';
|
|||||||
|
|
||||||
// add toolbar icon
|
// add toolbar icon
|
||||||
$(document).bind('toolbar_setup', function() {
|
$(document).bind('toolbar_setup', function() {
|
||||||
$('.navbar-brand').html('<img src="app/images/splash.svg" class="toolbar-splash">' +
|
$('.navbar-brand').html('<div style="display: inline-block; cursor: pointer;">\
|
||||||
(wn.boot.website_settings.brand_html || 'erpnext'))
|
<object type="image/svg+xml" data="app/images/splash.svg" class="toolbar-splash"></object>\
|
||||||
|
</div>' + (wn.boot.website_settings.brand_html || 'erpnext'))
|
||||||
.addClass("navbar-icon-home")
|
.addClass("navbar-icon-home")
|
||||||
.css('max-width', '200px').css('overflow', 'hidden');
|
.css('max-width', '200px').css('overflow', 'hidden');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user