Syntax error in previous commit
This commit is contained in:
parent
426fd87304
commit
c3b4d4b39b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user