The last fix (maybe) for auto night mode handling (references #71)

This commit is contained in:
Bernd Bestel
2018-09-30 18:07:28 +02:00
parent 8b815fce93
commit 7cc09cec67

View File

@@ -56,7 +56,7 @@ $("#auto-night-mode-time-range-to").trigger("keyup");
function CheckNightMode() function CheckNightMode()
{ {
if (!Grocy.UserSettings.auto_night_mode_enabled) if (!BoolVal(Grocy.UserSettings.auto_night_mode_enabled))
{ {
return; return;
} }