[minor] [erpnext logo] load it as object instead of image

This commit is contained in:
Anand Doshi 2013-07-18 19:52:06 +05:30
parent 674765a641
commit 3af8f8a136

View File

@ -17,7 +17,7 @@ wn.modules_path = 'erpnext';
$(document).bind('toolbar_setup', function() {
$('.navbar-brand').html('<div style="display: inline-block; cursor: pointer;">\
<object type="image/svg+xml" data="app/images/splash.svg" class="toolbar-splash"></object>\
</div>' + (wn.boot.website_settings.brand_html || 'erpnext'))
</div>' + ($("<div></div>").append(wn.boot.website_settings.brand_html).text() || 'erpnext'))
.addClass("navbar-icon-home")
.css('max-width', '200px').css('overflow', 'hidden');
});