mirror of
https://github.com/grocy/grocy.git
synced 2026-03-31 01:59:26 +02: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…
Reference in New Issue
Block a user