Commit dfa13305 authored by SerHack's avatar SerHack
Browse files

Merge branch 'bug/15/arr-undef' into 'master'

Resolve #15 replace flawed variable to avoid the ReferenceError

Closes #15

See merge request !10
parents fb4a0383 3a6603fd
......@@ -61,7 +61,7 @@ function create_random_sid() {
alphabet = "0123456789abcdefghjklmnopqrstuvwxyz";
var ans = '';
for (var i = 8; i > 0; i--) {
ans += alphabet[Math.floor(Math.random() * arr.length)];
ans += alphabet[Math.floor(Math.random() * ans.length)];
}
return ans;
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment