fix footer set language

This commit is contained in:
iBNu Maksum 2024-10-26 19:22:35 +07:00
parent 8e41749cd4
commit 08b2e16e73
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
2 changed files with 56 additions and 55 deletions

View File

@ -877,5 +877,6 @@
"will_be_replaced_with_Company_Name": "will be replaced with Company Name",
"Token_has_expired__Please_log_in_again_": "Token has expired. Please log in again.",
"Minute": "Minute",
"Hour": "Hour"
"Hour": "Hour",
"Failed_to_connect_to_device": "Failed to connect to device"
}

View File

@ -79,7 +79,8 @@
}, function(error) {});
}
};
var Tawk_LoadStart = new Date();Tawk_API.visitor = {
var Tawk_LoadStart = new Date();
Tawk_API.visitor = {
name : '{$_user['fullname']}',
email : '{$_user['email']}',
userId: '{$_user['id']}'
@ -186,12 +187,11 @@
}
return null;
}
setCookie('user_language', '
{/literal}{$user_language}
{literal}', 365);
</script>
{/literal}
<script>
setCookie('user_language', '{$user_language}', 365);
</script>
</body>
</html>