|
@@ -17,7 +17,10 @@ function get_script() {
|
|
|
if (xhr.readyState === 4) {
|
|
|
console.log(xhr.status);
|
|
|
console.log(xhr.responseText);
|
|
|
- dataArr = xhr.responseText.split(',');
|
|
|
+ replaced = xhr.responseText.replace('"','');
|
|
|
+ replaced = replaced.replace('[','');
|
|
|
+ replaced = replaced.replace(']','');
|
|
|
+ dataArr = replaced.split(',');
|
|
|
putscript();
|
|
|
}};
|
|
|
var data = `{"name_hash": `+name_hash+`}`;
|