mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-01 13:33:15 +00:00
commit
f621a1b46f
@ -22,7 +22,7 @@ compliments.updateCompliment = function () {
|
|||||||
|
|
||||||
var hour = moment().hour();
|
var hour = moment().hour();
|
||||||
|
|
||||||
// In the followign if statement we use .slice() on the
|
// In the following if statement we use .slice() on the
|
||||||
// compliments array to make a copy by value.
|
// compliments array to make a copy by value.
|
||||||
// This way the original array of compliments stays intact.
|
// This way the original array of compliments stays intact.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user