From b555114113c2f228ba0e94e9ded1b2d9328eceeb Mon Sep 17 00:00:00 2001 From: atsaruk Date: Thu, 10 Feb 2022 21:57:29 +0300 Subject: [PATCH] LAW-5166 --- htdocs/wp-content/themes/lawcarta/header.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/wp-content/themes/lawcarta/header.php b/htdocs/wp-content/themes/lawcarta/header.php index 8d7502b..e8fef4e 100644 --- a/htdocs/wp-content/themes/lawcarta/header.php +++ b/htdocs/wp-content/themes/lawcarta/header.php @@ -193,6 +193,8 @@ height="0" width="0" style="display:none;visibility:hidden"> $('.guest-data').css('display', 'inline-block'); $('.mobile-nav .guest-data').css('display', 'block'); } else { + window.userId = $('#is-guest').text(); + $('.home-label').text('Dashboard').attr('href', '/dashboard'); if (typeof isHomeTemplate != 'undefined' && isHomeTemplate === true) { window.location.href = lawCartaDomain + '/dashboard';