Skip to content

Commit 9d91b68

Browse files
author
veeck
committed
fix timeOfDay init
1 parent 3c2a38d commit 9d91b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/default/compliments/compliments.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Module.register("compliments", {
139139
let compliments = [];
140140

141141
// Add time of day compliments
142-
let timeOfDay = "";
142+
let timeOfDay;
143143
if (hour >= this.config.morningStartTime && hour < this.config.morningEndTime) {
144144
timeOfDay = "morning";
145145
} else if (hour >= this.config.afternoonStartTime && hour < this.config.afternoonEndTime) {

0 commit comments

Comments
 (0)