mirror of
https://github.com/Floriansylvain/projet_programmation_web.git
synced 2026-08-19 11:43:16 +02:00
🔥 Removed useless things
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user