forked from ScoDoc/ScoDoc
typo
This commit is contained in:
parent
7b0eae1970
commit
5379e4b93a
@ -34,14 +34,14 @@
|
|||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
let div = document.createElement("div");
|
let div = document.createElement("div");
|
||||||
div.innerText = "Une erreur s'est produite lors du transfère des données.";
|
div.innerText = "Une erreur s'est produite lors du transfert des données.";
|
||||||
div.style.fontSize = "24px";
|
div.style.fontSize = "24px";
|
||||||
div.style.color = "#d93030";
|
div.style.color = "#d93030";
|
||||||
|
|
||||||
let releve = document.querySelector("releve-but");
|
let releve = document.querySelector("releve-but");
|
||||||
releve.after(div);
|
releve.after(div);
|
||||||
releve.remove();
|
releve.remove();
|
||||||
|
|
||||||
throw 'Fin du script - données invalides';
|
throw 'Fin du script - données invalides';
|
||||||
});
|
});
|
||||||
document.querySelector("html").style.scrollBehavior = "smooth";
|
document.querySelector("html").style.scrollBehavior = "smooth";
|
||||||
|
Loading…
Reference in New Issue
Block a user