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