Syntax error in previous commit

This commit is contained in:
db-2001 2024-04-26 21:47:02 -04:00
parent 426fd87304
commit c3b4d4b39b

View File

@ -1064,7 +1064,7 @@ function GetValidSelector(str){
return clean.join(''); return clean.join('');
} }
function stringToColour = (str) => { function stringToColour(str) {
let hash = 0; let hash = 0;
str.split('').forEach(char => { str.split('').forEach(char => {
hash = char.charCodeAt(0) + ((hash << 5) - hash) hash = char.charCodeAt(0) + ((hash << 5) - hash)