grocy/js/viewjs/usersettings.js
Katharina Bogad 2a7fbbecf8 Fix bugs
2021-06-24 22:18:19 +02:00

17 lines
275 B
JavaScript

function usersettingsView(Grocy, scope = null)
{
var $scope = $;
if (scope != null)
{
$scope = (selector) => $(scope).find(selector);
}
$scope("#locale").val(Grocy.UserSettings.locale);
RefreshLocaleNumberInput();
}
window.usersettingsView = usersettingsView