Skip to content

Commit ca361d9

Browse files
committed
change color reading and execution id setting
1 parent b375fc2 commit ca361d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/port/xml2geo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parser = new DOMParser();
22

33
function generateRandomId(length = 6) {
4-
return Math.random().toString(36).substr(2, length);
4+
return Array.from({length}, () => Math.floor(Math.random() * 36).toString(36)).join('');
55
}
66

77
var template = {

0 commit comments

Comments
 (0)