|
@@ -186,9 +186,9 @@
|
|
|
throw new Error(rawResponse.statusText);
|
|
throw new Error(rawResponse.statusText);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const lines = (await rawResponse.text()).split(/\\r?\\n/);
|
|
|
|
|
|
|
+ const lines = (await rawResponse.text()).split(/\r?\n/);
|
|
|
for (const line of lines) {
|
|
for (const line of lines) {
|
|
|
- const values = line.split("\\t");
|
|
|
|
|
|
|
+ const values = line.split("\t");
|
|
|
if (number === values[0]) {
|
|
if (number === values[0]) {
|
|
|
document.getElementById("myInput").value = Number(values[1]);
|
|
document.getElementById("myInput").value = Number(values[1]);
|
|
|
break;
|
|
break;
|