mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Properly initialize show_clock_in_header user setting control after page reload
This commit is contained in:
parent
f7f90238f2
commit
c61c37e67a
@ -35,3 +35,8 @@ function CheckHeaderClockEnabled()
|
||||
}
|
||||
}
|
||||
CheckHeaderClockEnabled();
|
||||
|
||||
if (BoolVal(Grocy.UserSettings.show_clock_in_header))
|
||||
{
|
||||
$("#show-clock-in-header").prop("checked", true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user