From 9cad31da3e4fdd9974a09c5e9677714ff2b4e574 Mon Sep 17 00:00:00 2001 From: Daniel van Noord Date: Thu, 3 Dec 2020 13:24:34 +0100 Subject: [PATCH] Updated CM.Disp.GetTimeColor v2 --- CookieMonster.js | 2 +- src/Disp.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CookieMonster.js b/CookieMonster.js index 104836e..e908d08 100644 --- a/CookieMonster.js +++ b/CookieMonster.js @@ -1149,7 +1149,7 @@ CM.Disp.FormatTime = function(time, longFormat) { } /** - * This function returns returns the color to be used for time-strings + * This function returns the color to be used for time-strings * @param {number} time Time to be coloured * @returns {{string, string}} {text, color} Both the formatted time and color as strings in an array */ diff --git a/src/Disp.js b/src/Disp.js index bd414f9..9fa5c00 100644 --- a/src/Disp.js +++ b/src/Disp.js @@ -307,7 +307,7 @@ CM.Disp.FormatTime = function(time, longFormat) { } /** - * This function returns returns the color to be used for time-strings + * This function returns the color to be used for time-strings * @param {number} time Time to be coloured * @returns {{string, string}} {text, color} Both the formatted time and color as strings in an array */