mirror of
https://github.com/BreizhHardware/projetCGroupe8.git
synced 2026-03-18 21:30:32 +01:00
Change the request file name from request to requests
This commit is contained in:
@@ -10,7 +10,7 @@ function writeFile(id_form, func) {
|
||||
}
|
||||
|
||||
element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(textToSave));
|
||||
element.setAttribute('download', 'request.txt');
|
||||
element.setAttribute('download', 'requests.txt');
|
||||
element.style.display = 'none';
|
||||
document.body.appendChild(element);
|
||||
element.click();
|
||||
|
||||
Reference in New Issue
Block a user