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))
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<nav class="navbar">
|
||||
<h1>theses.fr</h1>
|
||||
|
||||
<!-- svg from iconmonstr -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" id="hamburger">
|
||||
<path id="hamburgerSvg" d="M24 6h-24v-4h24v4zm0 4h-24v4h24v-4zm0 8h-24v4h24v-4z"/>
|
||||
<path id="crossSvg" class="spin-fade" d="M23.954 21.03l-9.184-9.095 9.092-9.174-2.832-2.807-9.09 9.179-9.176-9.088-2.81 2.81 9.186 9.105-9.095 9.184 2.81 2.81 9.112-9.192 9.18 9.1z"/>
|
||||
|
||||
Reference in New Issue
Block a user