Skip to content

Commit

Permalink
Add getLocale() function to main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Dec 9, 2024
1 parent b887113 commit 1ab7806
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5710,4 +5710,9 @@ function isChatMode()
function reloadPage()
{
window.location.href = '';
}

function getLocale()
{
return $('html:first').attr('lang');
}

0 comments on commit 1ab7806

Please sign in to comment.