fix to brand_html

This commit is contained in:
Rushabh Mehta
2012-05-01 14:18:47 +05:30
parent c56027a722
commit 6dde93d5f0
3 changed files with 4 additions and 3 deletions

View File

@@ -14,8 +14,9 @@ erpnext.set_about = function() {
wn.modules_path = 'erpnext';
$(document).bind('toolbar_setup', function() {
$('.brand').html(wn.boot.website_settings.brand_html.substr(0,15) || 'erpnext' +
$('.brand').html((wn.boot.website_settings.brand_html || 'erpnext') +
' <i class="icon-home icon-white navbar-icon-home" ></i>')
.css('max-width', '200px').css('overflow', 'hidden')
.hover(function() {
$(this).find('.icon-home').addClass('navbar-icon-home-hover');
}, function() {