mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
[minor] [fix] net_total_export printing and hover effect for brand in navbar
This commit is contained in:
@@ -15,13 +15,8 @@ wn.modules_path = 'erpnext';
|
||||
|
||||
// add toolbar icon
|
||||
$(document).bind('toolbar_setup', function() {
|
||||
$('.navbar-brand').html('<object data="app/images/splash.svg" \
|
||||
class="toolbar-splash" type="image/svg+xml"></object>' +
|
||||
$('.navbar-brand').html('<img src="app/images/splash.svg" class="toolbar-splash">' +
|
||||
(wn.boot.website_settings.brand_html || 'erpnext'))
|
||||
.css('max-width', '200px').css('overflow', 'hidden')
|
||||
.hover(function() {
|
||||
$(this).find('.icon-home').addClass('navbar-icon-home-hover');
|
||||
}, function() {
|
||||
$(this).find('.icon-home').removeClass('navbar-icon-home-hover');
|
||||
});
|
||||
.addClass("navbar-icon-home")
|
||||
.css('max-width', '200px').css('overflow', 'hidden');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user