header menu fix

This commit is contained in:
Jerryby
2019-02-18 16:23:05 +03:00
parent ae820d2169
commit b785e522dd

View File

@@ -79,7 +79,7 @@ $lawCartaUrl = "$scheme$host$port";
if (ev.origin.indexOf('<?= $lawCartaUrl ?>') !== -1) {
document.getElementById('header-menu').insertAdjacentHTML('beforeend', ev.data);
if ($('#is-guest').text() == 'true') {
$('.guest-data').show();
$('.guest-data').css('display', 'inline-block');
} else {
$('.home-label').text('Dashboard').attr('href', '<?= $lawCartaUrl?>/dashboard');
}