🔥 Removed useless things

This commit is contained in:
Florian Sylvain
2021-10-31 16:02:39 +01:00
parent 14c3839803
commit 7a492caf7d
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -17,7 +17,6 @@ function requestToApi(author) {
document.querySelector('#results').innerHTML = ""
loader.style.display = "block"
authorName = author.replace(/[^a-zA-Z0-9]/g,'')
console.log(authorName)
fetch(`api.php?q=theses&author=${author}`)
.then(response => response.json())
.then(data => displayResults(data))