Fix app's icon in mobile template header not being displayed while the sidebar is toggled

This commit is contained in:
Hadi Nategh 2019-09-16 13:05:02 +02:00
parent 76e31e6bdd
commit 87a0f0135f

View File

@ -986,7 +986,7 @@
var $sidebar = jQuery('#'+egw.app_name()+'_sidebox_content');
$sidebar.toggle();
jQuery(this).css({
'background-image':'url('+egw.webserverUrl+'/' + ($sidebar.is(":visible")?'pixelegg/images/apps.svg':egw.app_name()+'/templates/mobile/images/navbar.svg)')
'background-image':'url('+egw.webserverUrl+'/' + ($sidebar.is(":visible")?'pixelegg/images/apps.svg':egw.app_name()+'/templates/pixelegg/images/navbar.svg)')
});
});