Fix logo-mobile color

This commit is contained in:
Daniel Gröber 2021-01-17 11:15:18 +01:00
parent dd7e532dc9
commit 9f17270e5c

View file

@ -77,6 +77,9 @@ var its = (function() {
if($('.logo-big').length > 0) { if($('.logo-big').length > 0) {
$('.logo-big').bind('DOMNodeRemoved', function(){ update_dom(state) }); $('.logo-big').bind('DOMNodeRemoved', function(){ update_dom(state) });
$('.logo-big').attr('src', logos_big[state]).css('display', 'block'); $('.logo-big').attr('src', logos_big[state]).css('display', 'block');
} else if($('.logo-mobile').length > 0) {
$('.logo-mobile').bind('DOMNodeRemoved', function(){ update_dom(state) });
$('.logo-mobile').attr('src', logos_big[state]).css('display', 'block');
} else if($('.logo-small').length > 0) { } else if($('.logo-small').length > 0) {
$('.logo-small').bind('DOMNodeRemoved', function(){ update_dom(state) }); $('.logo-small').bind('DOMNodeRemoved', function(){ update_dom(state) });
$('.logo-small').attr('src', logos_small[state]).css('display', 'block'); $('.logo-small').attr('src', logos_small[state]).css('display', 'block');