diff --git a/js/compliments/compliments.js b/js/compliments/compliments.js index 04953fba..6c251a48 100644 --- a/js/compliments/compliments.js +++ b/js/compliments/compliments.js @@ -22,9 +22,9 @@ compliments.updateCompliment = function () { 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. - // This way the original array of compliments stays in tact. + // This way the original array of compliments stays intact. if (hour >= 3 && hour < 12) { // Morning compliments @@ -67,4 +67,4 @@ compliments.init = function () { this.updateCompliment(); }.bind(this), this.updateInterval) -} \ No newline at end of file +}