🔥 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 = "" document.querySelector('#results').innerHTML = ""
loader.style.display = "block" loader.style.display = "block"
authorName = author.replace(/[^a-zA-Z0-9]/g,'') authorName = author.replace(/[^a-zA-Z0-9]/g,'')
console.log(authorName)
fetch(`api.php?q=theses&author=${author}`) fetch(`api.php?q=theses&author=${author}`)
.then(response => response.json()) .then(response => response.json())
.then(data => displayResults(data)) .then(data => displayResults(data))
-1
View File
@@ -2,7 +2,6 @@
<nav class="navbar"> <nav class="navbar">
<h1>theses.fr</h1> <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"> <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="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"/> <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"/>