[ActivityReminder] Fix broken return

master
Stiralbios 2022-05-27 10:43:45 +02:00
parent 5256acfe4c
commit c1ca89dc60
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function isDuringAlertHours(h) {
if(activityreminder_settings.startHour < activityreminder_settings.endHour){ // not passing through midnight
return (h >= activityreminder_settings.startHour && h < activityreminder_settings.endHour)
} else{ // passing through midnight
reutn (h >= activityreminder_settings.startHour || h < activityreminder_settings.endHour)
return (h >= activityreminder_settings.startHour || h < activityreminder_settings.endHour)
}
}