Accidentally deleted this line
This commit is contained in:
parent
3f61a7ee49
commit
684fa5dbc1
1 changed files with 1 additions and 5 deletions
|
@ -21,16 +21,12 @@
|
||||||
}*/
|
}*/
|
||||||
</style>
|
</style>
|
||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
async function getFile(reader){
|
async function getFile(reader){
|
||||||
let response = await fetch(document.URL.substr(0,document.URL.lastIndexOf('/'))+'/phrases.txt');
|
let response = await fetch(document.URL.substr(0,document.URL.lastIndexOf('/'))+'/phrases.txt');
|
||||||
let data = await response.blob();
|
let data = await response.blob();
|
||||||
reader.readAsText(data);
|
reader.readAsText(data);
|
||||||
/*let metadata = {
|
|
||||||
contentType: 'text/plain'
|
|
||||||
};
|
|
||||||
let file = new File([data], "phrases.txt", metadata);
|
|
||||||
return file;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getPhrase() {
|
function getPhrase() {
|
||||||
|
|
Loading…
Reference in a new issue