Accidentally deleted this line

This commit is contained in:
Norbi Peti 2018-12-09 18:57:22 +01:00
parent 3f61a7ee49
commit 684fa5dbc1
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56

View file

@ -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() {