From c3b4d4b39b931d9ac6fa281767b80b6bebbbc52a Mon Sep 17 00:00:00 2001 From: db-2001 Date: Fri, 26 Apr 2024 21:47:02 -0400 Subject: [PATCH] Syntax error in previous commit --- Website/interaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/interaction.js b/Website/interaction.js index b0351ef..95b4203 100644 --- a/Website/interaction.js +++ b/Website/interaction.js @@ -1064,7 +1064,7 @@ function GetValidSelector(str){ return clean.join(''); } -function stringToColour = (str) => { +function stringToColour(str) { let hash = 0; str.split('').forEach(char => { hash = char.charCodeAt(0) + ((hash << 5) - hash)